diff options
-rwxr-xr-x | tests/protocol/test-launch-race.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/protocol/test-launch-race.pl b/tests/protocol/test-launch-race.pl index f933bfeb..7e1330be 100755 --- a/tests/protocol/test-launch-race.pl +++ b/tests/protocol/test-launch-race.pl @@ -32,6 +32,11 @@ exit 77 if $ENV{SKIP_TEST_LAUNCH_RACE_PL}; my $tmpdir = tempdir (CLEANUP => 1); $ENV{TMPDIR} = $tmpdir; +# Temporary workaround for RHBZ#860235 which can be removed +# once that bug is fixed. +system ("chcon system_u:object_r:tmp_t:s0 $tmpdir") == 0 + or warn "chcon: $tmpdir: $!"; + my $pid = fork(); die ("fork failed: $!") if ($pid < 0); |