aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-25 17:32:24 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-25 17:32:24 +0200
commit1ea640c056822140171b4fec212bb98fdac39214 (patch)
tree9c396d8d0a6abb57d429e5d3572665a274c406f8
parent25eeb7746faaae30c40c3bf73cf2efe3909b9950 (diff)
downloadsbotools2-1ea640c056822140171b4fec212bb98fdac39214.tar.xz
03-travis.t: Make sure repo is empty before running these tests
-rwxr-xr-xt/03-travis.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/03-travis.t b/t/03-travis.t
index ce0785f..d5bd2d1 100755
--- 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: {