From: Richard W.M. Jones Date: Thu, 24 Nov 2011 16:54:17 +0000 (+0000) Subject: regressions: Allow test-launch-race.pl to be skipped. X-Git-Tag: 1.15.6~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3bbcbd5eeadabb1cc5a40b2f8ae586e6aafd39c6;p=libguestfs.git regressions: Allow test-launch-race.pl to be skipped. export SKIP_TEST_LAUNCH_RACE_PL=1 will cause this test to be skipped. --- diff --git a/regressions/test-launch-race.pl b/regressions/test-launch-race.pl index 297c1b6..5a660ce 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;