mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Revert "test-launch-race: Add SELinux label to $TMPDIR."
Because RHBZ#860235 has been fixed in selinux-policy 3.11.1-25.fc18.
This reverts commit 7fc838cca3.
This commit is contained in:
@@ -32,11 +32,6 @@ 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user