From: Johannes Schindelin Date: Fri, 8 Aug 2008 05:59:13 +0000 (+0200) Subject: t9700: remove useless check X-Git-Tag: v1.6.1-rc1~336^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ff30fff38c09dac7c1349fb774c55daa8fd92972;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t9700/test.pl b/t/t9700/test.pl index 4d2312548..851cea4a4 100755 --- a/t/t9700/test.pl +++ b/t/t9700/test.pl @@ -14,10 +14,7 @@ use File::Temp; BEGIN { use_ok('Git') } # set up -our $repo_dir = "trash directory"; our $abs_repo_dir = Cwd->cwd; -die "this must be run by calling the t/t97* shell script(s)\n" - if basename(Cwd->cwd) ne $repo_dir; ok(our $r = Git->repository(Directory => "."), "open repository"); # config