diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-02-14 14:28:21 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-02-14 14:28:21 -0800 |
| commit | 4e09a7b54009b6a2038438ee9c5d91102702257d (patch) | |
| tree | e1d6a7ad0aa6fe51f0e1eded9e0d9bcec2fe6226 /t/t1404-update-ref-errors.sh | |
| parent | f1e112a758e78a1da6422e2ee0700cf283aac234 (diff) | |
| parent | c777cd81ef3b9eeb3d067efe9f3bee1949328803 (diff) | |
| download | git-4e09a7b54009b6a2038438ee9c5d91102702257d.tar.gz | |
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()
Diffstat (limited to 't/t1404-update-ref-errors.sh')
| -rwxr-xr-x | t/t1404-update-ref-errors.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1404-update-ref-errors.sh b/t/t1404-update-ref-errors.sh index 51a4f4c0ac..6b6a8e2292 100755 --- 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 ' |
