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>
This commit is contained in:
Johannes Schindelin 2008-08-08 07:59:13 +02:00 коммит произвёл Junio C Hamano
Родитель 1fdf6ee6f8
Коммит ff30fff38c
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -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