summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/t4011-diff-symlink.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/t4011-diff-symlink.sh b/t/t4011-diff-symlink.sh
index 164f153855..f0d5041c11 100755
--- a/t/t4011-diff-symlink.sh
+++ b/t/t4011-diff-symlink.sh
@@ -67,10 +67,7 @@ test_expect_success SYMLINKS 'diff removed symlink and file' '
'
test_expect_success SYMLINKS 'diff identical, but newly created symlink and file' '
- cat >expected <<-\EOF &&
- diff --git a/frotz b/frotz
- diff --git a/nitfol b/nitfol
- EOF
+ >expected &&
rm -f frotz nitfol &&
echo xyzzy >nitfol &&
test-chmtime +10 nitfol &&