summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-11-24 16:54:17 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-11-24 21:12:42 +0000
commitdb17f3793a6eeed9ab676755c245a53fdff0a23d (patch)
tree73db47e46ad684f03e075298ff28b7b129993044
parent06fbb91d06e67f306857d10a452ac3c0b1d9357e (diff)
downloadlibguestfs-db17f3793a6eeed9ab676755c245a53fdff0a23d.tar.gz
libguestfs-db17f3793a6eeed9ab676755c245a53fdff0a23d.tar.xz
libguestfs-db17f3793a6eeed9ab676755c245a53fdff0a23d.zip
regressions: Allow test-launch-race.pl to be skipped.
export SKIP_TEST_LAUNCH_RACE_PL=1 will cause this test to be skipped. (cherry picked from commit 3bbcbd5eeadabb1cc5a40b2f8ae586e6aafd39c6)
-rwxr-xr-xregressions/test-launch-race.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/regressions/test-launch-race.pl b/regressions/test-launch-race.pl
index 297c1b6d..5a660cee 100755
--- a/regressions/test-launch-race.pl
+++ b/regressions/test-launch-race.pl
@@ -25,6 +25,9 @@ use POSIX;
use Sys::Guestfs;
+# Allow this test to be skipped.
+exit 0 if $ENV{SKIP_TEST_LAUNCH_RACE_PL};
+
# Use a temporary TMPDIR to ensure it's clean
my $tmpdir = tempdir (CLEANUP => 1);
$ENV{TMPDIR} = $tmpdir;