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:
Richard W.M. Jones
2012-09-26 12:04:02 +01:00
parent 9b7813c5bd
commit b44d82ec8d

View File

@@ -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);