From e9cdf418cae3180a873c64f4083f43bea5dbdad2 Mon Sep 17 00:00:00 2001 From: Otto Sabart Date: Tue, 24 Sep 2024 09:00:00 +0200 Subject: [PATCH] Fix the yq arguments for centos-stream-9 tests --- tests/execute/result/special.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/execute/result/special.sh b/tests/execute/result/special.sh index 24ae52736a..d42cc423ca 100755 --- a/tests/execute/result/special.sh +++ b/tests/execute/result/special.sh @@ -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"