summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-11 17:58:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-11 17:58:16 (GMT)
commita56d361f66a78cabaf594b611d817a528ad1d489 (patch)
tree5c1305fd0a5e3e0c3a2ff462966739189334be2a /t
parent5fa9169ced8f874910cf4cf289a650d65f52df22 (diff)
parent4605a7307352c41ea83939d53d31f69cdd3fa3ec (diff)
downloadgit-a56d361f66a78cabaf594b611d817a528ad1d489.zip
git-a56d361f66a78cabaf594b611d817a528ad1d489.tar.gz
git-a56d361f66a78cabaf594b611d817a528ad1d489.tar.bz2
Merge branch 'ds/sparse-add'
Test fix. * ds/sparse-add: t1091: don't grep for `strerror()` string
Diffstat (limited to 't')
-rwxr-xr-xt/t1091-sparse-checkout-builtin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1091-sparse-checkout-builtin.sh b/t/t1091-sparse-checkout-builtin.sh
index b4c9c32..44a9120 100755
--- a/t/t1091-sparse-checkout-builtin.sh
+++ b/t/t1091-sparse-checkout-builtin.sh
@@ -305,7 +305,7 @@ test_expect_success 'fail when lock is taken' '
test_when_finished rm -rf repo/.git/info/sparse-checkout.lock &&
touch repo/.git/info/sparse-checkout.lock &&
test_must_fail git -C repo sparse-checkout set deep 2>err &&
- test_i18ngrep "File exists" err
+ test_i18ngrep "Unable to create .*\.lock" err
'
test_expect_success '.gitignore should not warn about cone mode' '