fix for centos

This commit is contained in:
Ondrej Mejzlik 2024-05-29 11:46:54 +02:00
commit 3d75dc2684

View file

@ -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 ! rlIsFedora; then
if rlIsRHEL; 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