summaryrefslogtreecommitdiffstats
path: root/devtools/dev-create-test-filesystem.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/dev-create-test-filesystem.sh')
-rwxr-xr-xdevtools/dev-create-test-filesystem.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/devtools/dev-create-test-filesystem.sh b/devtools/dev-create-test-filesystem.sh
index d42e714..3541a39 100755
--- a/devtools/dev-create-test-filesystem.sh
+++ b/devtools/dev-create-test-filesystem.sh
@@ -323,9 +323,7 @@ git init >/dev/null
ln -s aaa/aaa/a b
# This normally fails with:
-# touch: cannot touch '/testcases/git3/b': No such file or directory
-# but that’s expected (the file deliberately does not exist)
-find "$TEST_ROOT/git3" -exec touch {} -t $FIXED_DATE \; 2>/dev/null
+find "$TEST_ROOT/git3" -exec touch {} -h -t $FIXED_DATE \;
sudo chown $FIXED_USER:$FIXED_USER -R "$TEST_ROOT/git3"