git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06fbb91
)
regressions: Allow test-launch-race.pl to be skipped.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 24 Nov 2011 16:54:17 +0000
(16:54 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 24 Nov 2011 21:12:42 +0000
(21:12 +0000)
export SKIP_TEST_LAUNCH_RACE_PL=1
will cause this test to be skipped.
(cherry picked from commit
3bbcbd5eeadabb1cc5a40b2f8ae586e6aafd39c6
)
regressions/test-launch-race.pl
patch
|
blob
|
history
diff --git
a/regressions/test-launch-race.pl
b/regressions/test-launch-race.pl
index
297c1b6
..
5a660ce
100755
(executable)
--- 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;