diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 02:51:52 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 02:51:52 +0100 |
commit | 1e75ac5258c7c5d0cdd504d7a01695333243c82b (patch) | |
tree | e9ca6cd550c95a8dbd5c89f0d795300a11f67ae0 | |
parent | d32cfb6ec78b3c842651d6aa81458e082a1a4234 (diff) | |
download | sbotools2-1e75ac5258c7c5d0cdd504d7a01695333243c82b.tar.xz |
Clean up $repo_path and test_sbo dir too
-rwxr-xr-x | t/test.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |