From 1e75ac5258c7c5d0cdd504d7a01695333243c82b Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Mon, 14 Dec 2015 02:51:52 +0100 Subject: Clean up $repo_path and test_sbo dir too --- t/test.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/test.t') 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. -- cgit v1.2.3