commit 1ea640c056822140171b4fec212bb98fdac39214
parent 25eeb7746faaae30c40c3bf73cf2efe3909b9950
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Wed, 25 May 2016 17:32:24 +0200
03-travis.t: Make sure repo is empty before running these tests
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/t/03-travis.t b/t/03-travis.t
@@ -17,6 +17,9 @@ if (defined $ENV{TRAVIS} and $ENV{TRAVIS} eq 'true') {
}
$ENV{TEST_ONLINE} //= 0;
+# Since this is only run under Travis CI, we can blow away the repo without consequence
+system(qw! rm -rf /usr/sbo !);
+
# 1-3: Test SLACKWARE_VERSION
sboconfig qw/ -V 14.1 /, { expected => "Setting SLACKWARE_VERSION to 14.1...\n" };
SKIP: {