@matheusbsbs / matheus-bagliano / commits / ff30fff38c
Fork 0

t9700: remove useless check

t9700 used to check if the basename of the current directory is 'trash directory', the expensive way. However, there is absolutely no good reason why this test should not run in, say 'life is good' or 'i love tests'. So remove the check altogether. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Aug 8, 2008 at 07:59 UTC ff30fff38c09dac7c1349fb774c55daa8fd92972
1 file changed -3
t/t9700/test.pl
-3
@@ -14,10 +14,7 @@ use File::Temp;
14 BEGIN { use_ok('Git') }
15
16 # set up
17 -our $repo_dir = "trash directory";
17 our $abs_repo_dir = Cwd->cwd;
19 -die "this must be run by calling the t/t97* shell script(s)\n"
20 - if basename(Cwd->cwd) ne $repo_dir;
18 ok(our $r = Git->repository(Directory => "."), "open repository");
19
20 # config