about summary refs log tree commit diff
path: root/tests/hash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hash.sh')
-rw-r--r--tests/hash.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hash.sh b/tests/hash.sh
index de18028eaa0f..d659bbe34e8f 100644
--- a/tests/hash.sh
+++ b/tests/hash.sh
@@ -46,7 +46,7 @@ chmod +x $TEST_ROOT/hash-path/hello
 try2 md5 "20f3ffe011d4cfa7d72bfabef7882836"
 
 # Mtime and other bits don't.
-touch -r $TOP $TEST_ROOT/hash-path/hello
+touch -r . $TEST_ROOT/hash-path/hello
 chmod 744 $TEST_ROOT/hash-path/hello
 try2 md5 "20f3ffe011d4cfa7d72bfabef7882836"