t7501: always use test_cmp instead of diff
[gitweb.git] / t / t0001-init.sh
index c0b781ae49af6cdc8a9bcc4a551310637366eb8f..620da5b32041b1ad69bfdcb6d139f2705386a5ff 100755 (executable)
@@ -83,11 +83,11 @@ test_expect_success 'init --bare' '
 
        (
                unset GIT_DIR GIT_WORK_TREE GIT_CONFIG
-               mkdir git-init-bare.git &&
-               cd git-init-bare.git &&
+               mkdir init-bare.git &&
+               cd init-bare.git &&
                git init --bare
        ) &&
-       check_config git-init-bare.git true unset
+       check_config init-bare.git true unset
 '
 
 test_expect_success 'GIT_DIR non-bare' '