Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/no-grepping-for-strerror-in-tests'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 14 Feb 2019 22:28:21 +0000
(14:28 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 14 Feb 2019 22:28:21 +0000
(14:28 -0800)
* jc/no-grepping-for-strerror-in-tests:
t1404: do not rely on the exact phrasing of strerror()
t/t1404-update-ref-errors.sh
patch
|
blob
|
history
raw
(from parent 1:
f1e112a
)
diff --git
a/t/t1404-update-ref-errors.sh
b/t/t1404-update-ref-errors.sh
index 51a4f4c0ac694ff421e3a17b174697122ecf4b1a..6b6a8e2292b5a37f12c3ea8ba2acd4825689c512 100755
(executable)
--- a/
t/t1404-update-ref-errors.sh
+++ b/
t/t1404-update-ref-errors.sh
@@
-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
'