mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
Merge branch 'jc/no-grepping-for-strerror-in-tests'
* jc/no-grepping-for-strerror-in-tests: t1404: do not rely on the exact phrasing of strerror()
This commit is contained in:
commit
4e09a7b540
@ -614,7 +614,7 @@ test_expect_success 'delete fails cleanly if packed-refs file is locked' '
|
||||
test_when_finished "rm -f .git/packed-refs.lock" &&
|
||||
test_must_fail git update-ref -d $prefix/foo >out 2>err &&
|
||||
git for-each-ref $prefix >actual &&
|
||||
test_i18ngrep "Unable to create $Q.*packed-refs.lock$Q: File exists" err &&
|
||||
test_i18ngrep "Unable to create $Q.*packed-refs.lock$Q: " err &&
|
||||
test_cmp unchanged actual
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user