Skip to content

Commit a56d361

Browse files
committed
Merge branch 'ds/sparse-add'
Test fix. * ds/sparse-add: t1091: don't grep for `strerror()` string
2 parents 5fa9169 + 4605a73 commit a56d361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1091-sparse-checkout-builtin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ test_expect_success 'fail when lock is taken' '
305305
test_when_finished rm -rf repo/.git/info/sparse-checkout.lock &&
306306
touch repo/.git/info/sparse-checkout.lock &&
307307
test_must_fail git -C repo sparse-checkout set deep 2>err &&
308-
test_i18ngrep "File exists" err
308+
test_i18ngrep "Unable to create .*\.lock" err
309309
'
310310

311311
test_expect_success '.gitignore should not warn about cone mode' '

0 commit comments

Comments
 (0)