summaryrefslogtreecommitdiff
path: root/t/t2103-update-index-ignore-missing.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t2103-update-index-ignore-missing.sh')
-rwxr-xr-xt/t2103-update-index-ignore-missing.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t2103-update-index-ignore-missing.sh b/t/t2103-update-index-ignore-missing.sh
index 0114f05228..e9451cd567 100755
--- a/t/t2103-update-index-ignore-missing.sh
+++ b/t/t2103-update-index-ignore-missing.sh
@@ -2,6 +2,7 @@
test_description='update-index with options'
+TEST_PASSES_SANITIZE_LEAK=true
. ./test-lib.sh
test_expect_success basics '
@@ -23,7 +24,7 @@ test_expect_success basics '
test_cmp expect actual &&
git update-index --add one two three &&
- for i in one three two; do echo $i; done >expect &&
+ test_write_lines one three two >expect &&
git ls-files >actual &&
test_cmp expect actual &&