Skip to content

Commit ff30fff

Browse files
dschogitster
authored andcommitted
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>
1 parent 1fdf6ee commit ff30fff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

t/t9700/test.pl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@
1414
BEGIN { use_ok('Git') }
1515

1616
# set up
17-
our $repo_dir = "trash directory";
1817
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;
2118
ok(our $r = Git->repository(Directory => "."), "open repository");
2219

2320
# config

0 commit comments

Comments
 (0)