From 23cf735378a8f76a0ae5a971c292072aa19861f7 Mon Sep 17 00:00:00 2001 From: Ondrej Mejzlik Date: Tue, 2 Jul 2024 12:17:43 +0200 Subject: [PATCH] rhel10 fix --- .../runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sanity/bz1664367-RFE-Add-support-for-885915-encoding-in-enscript/runtest.sh b/Sanity/bz1664367-RFE-Add-support-for-885915-encoding-in-enscript/runtest.sh index 27916b4..9f28207 100755 --- a/Sanity/bz1664367-RFE-Add-support-for-885915-encoding-in-enscript/runtest.sh +++ b/Sanity/bz1664367-RFE-Add-support-for-885915-encoding-in-enscript/runtest.sh @@ -44,7 +44,7 @@ rlJournalStart rlRun "enscript -M A4 --encoding=885915 -o outputfile.ps test.txt" 0 "Convert the text file to postscript." rlAssertExists "outputfile.ps" rlRun "cat outputfile.ps | grep -e "\\244"" 0 "There should be a octal code for Euro symbol in the output file." - if rlIsRHEL; then + if rlIsRHEL '<10'; then rlAssertEquals "Diff should have 8 lines." `diff outputfile.ps.orig outputfile.ps | wc -l` 8 else rlAssertEquals "Diff should have 8 lines." `diff outputfile.ps.orig outputfile.ps | wc -l` 12