Merge branch 'maint'
[gitweb.git] / t / t5515-fetch-merge-logic.sh
index 8becbc3f38fde02371ebbcd9a39a320a1c00c290..dbb927dec8ea9f40e8e106f416c276f1b6a07868 100755 (executable)
@@ -129,11 +129,10 @@ do
        '' | '#'*) continue ;;
        esac
        test=`echo "$cmd" | sed -e 's|[/ ][/ ]*|_|g'`
-       cnt=`expr $test_count + 1`
-       pfx=`printf "%04d" $cnt`
-       expect_f="../../t5515/fetch.$test"
+       pfx=`printf "%04d" $test_count`
+       expect_f="$TEST_DIRECTORY/t5515/fetch.$test"
        actual_f="$pfx-fetch.$test"
-       expect_r="../../t5515/refs.$test"
+       expect_r="$TEST_DIRECTORY/t5515/refs.$test"
        actual_r="$pfx-refs.$test"
 
        test_expect_success "$cmd" '