Skip to content

Commit e6c09ec

Browse files
committed
tests: fix false failure on SELinux disabled systems
* tests/misc/no-fork.sh: Use an "unused" placeholder so runcon is invoked with the correct number of arguments where `id -Z` doesn't return anything. This is needed since commit v9.12-53-g8555a51f2
1 parent 98c8b15 commit e6c09ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/misc/no-fork.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ chroot --skip-chdir / true
3131
env true
3232
nice true
3333
nohup true
34-
runcon '"$(id -Z)"' true
34+
runcon '"$(id -Z || echo unused)"' true
3535
stdbuf -oL true
3636
' |
3737
sort -k 1b,1 > all_executors || framework_failure_

0 commit comments

Comments
 (0)