sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 1e75ac5258c7c5d0cdd504d7a01695333243c82b
parent d32cfb6ec78b3c842651d6aa81458e082a1a4234
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Mon, 14 Dec 2015 02:51:52 +0100

Clean up $repo_path and test_sbo dir too

Diffstat:
Mt/test.t | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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.