Update for Centos Stream 10

This commit is contained in:
Zdenek Dohnal 2024-04-15 16:37:02 +02:00
commit d99cbf53b6

View file

@ -56,7 +56,7 @@ rlJournalStart
cat diff.txt
echo; echo "### Full diff:"
diff example.ps output.ps
if rlIsFedora; then
if rlIsFedora || rlIsRHELLike '>=10'; then
rlRun "test $(wc -l diff.txt | awk '{ print $1 }') -eq 1" 0 "Difference file has only one line"
rlAssertGrep '%%For: Super User' diff.txt
else
@ -85,7 +85,7 @@ rlJournalStart
cat diff.txt
echo; echo "### Full diff:"
diff example-std.ps output-std.ps
if rlIsFedora; then
if rlIsFedora || rlIsRHELLike '>=10'; then
rlRun "test $(wc -l diff.txt | awk '{ print $1 }') -eq 1" 0 "Difference file has only one line"
rlAssertGrep '%%For: Super User' diff.txt
else