From db17f3793a6eeed9ab676755c245a53fdff0a23d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 24 Nov 2011 16:54:17 +0000 Subject: [PATCH] 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) --- regressions/test-launch-race.pl | 3 +++ 1 file changed, 3 insertions(+) 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; -- 1.8.3.1