git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extra tests: Test that valgrind and libtool are installed.
[libguestfs.git]
/
regressions
/
test-launch-race.pl
diff --git
a/regressions/test-launch-race.pl
b/regressions/test-launch-race.pl
index
892353e
..
5a660ce
100755
(executable)
--- a/
regressions/test-launch-race.pl
+++ b/
regressions/test-launch-race.pl
@@
-13,7
+13,7
@@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+# Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
# Test that 2 simultaneous launches in a clean cache directory will both succeed
# Test that 2 simultaneous launches in a clean cache directory will both succeed
@@
-25,6
+25,9
@@
use POSIX;
use Sys::Guestfs;
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;
# Use a temporary TMPDIR to ensure it's clean
my $tmpdir = tempdir (CLEANUP => 1);
$ENV{TMPDIR} = $tmpdir;