Skip to content

Commit

Permalink
Fix the yq arguments for centos-stream-9 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seberm authored and psss committed Sep 24, 2024
1 parent 5e9e578 commit 9c59c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/execute/result/special.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rlJournalStart
rlRun -s "tmt run -v -i $run" 0

RESULT_FILE="$run/special-chars/execute/data/guest/default-0/0-7-special-characters-in-the-name-1/data/tmt-report-results.yaml"
rlRun "yq -ye '.' $RESULT_FILE" 0 "Check the YAML is valid"
rlRun "yq -e '.' $RESULT_FILE" 0 "Check the YAML is valid"

rlAssertGrep 'name: "/0\.\.7 \\"special\\": \\" characters: \*\$@|&>< in: the: name"' "$RESULT_FILE"
rlAssertGrep "result: \"pass\"" "$RESULT_FILE"
Expand Down

0 comments on commit 9c59c33

Please sign in to comment.