aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 02:51:52 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-14 02:51:52 +0100
commit1e75ac5258c7c5d0cdd504d7a01695333243c82b (patch)
treee9ca6cd550c95a8dbd5c89f0d795300a11f67ae0
parentd32cfb6ec78b3c842651d6aa81458e082a1a4234 (diff)
downloadsbotools2-1e75ac5258c7c5d0cdd504d7a01695333243c82b.tar.xz
Clean up $repo_path and test_sbo dir too
-rwxr-xr-xt/test.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test.t b/t/test.t
index defecca..631529d 100755
--- a/t/test.t
+++ b/t/test.t
@@ -513,10 +513,10 @@ is($initial, ' ', 'get_dc_regex test 04.2');
# move things back to pre-migration state
foreach my $fname (glob("$repo_path/*")) {
- print "Moving $fname\n";
is(system('mv', $fname, $sbo_home), 0, "moving $fname to pre-migration place works");
}
-unlink $repo_path;
+is(system('rmdir', $repo_path), 0, "removing $repo_path works");
+is(system('rmdir', "$sbo_home/../test_sbo/repo", "$sbo_home/../test_sbo"), 0, "removing test_sbo works");
# end of tests.