Skip to content

Commit 4e09a7b

Browse files
committed
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()
2 parents f1e112a + c777cd8 commit 4e09a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1404-update-ref-errors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ test_expect_success 'delete fails cleanly if packed-refs file is locked' '
614614
test_when_finished "rm -f .git/packed-refs.lock" &&
615615
test_must_fail git update-ref -d $prefix/foo >out 2>err &&
616616
git for-each-ref $prefix >actual &&
617-
test_i18ngrep "Unable to create $Q.*packed-refs.lock$Q: File exists" err &&
617+
test_i18ngrep "Unable to create $Q.*packed-refs.lock$Q: " err &&
618618
test_cmp unchanged actual
619619
'
620620

0 commit comments

Comments
 (0)