Adjusting test for rhel10

/Regression/bz517575-Changes-for-lowering-capabilities-project
This commit is contained in:
František Hrdina 2024-05-07 15:13:17 +02:00
commit 5afc4974af

View file

@ -56,7 +56,7 @@ dr-xr-xr-x. root root system_u:object_r:lib_t:s0 /lib64
dr-xr-xr-x. root root system_u:object_r:lib_t:s0 /usr/lib64
EOF" 0 "Storing expected output for lib64"
fi
elif rlIsRHEL 8 || rlIsRHEL 9 || rlIsFedora; then
elif rlIsRHELLike '>=8' || rlIsFedora; then
rlRun "cat <<EOF > expected.out
dr-xr-xr-x. root root system_u:object_r:root_t:s0 /
lrwxrwxrwx. root root system_u:object_r:bin_t:s0 /bin -> usr/bin