diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2023-06-14 21:51:09 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2023-06-14 22:00:41 +0100 |
commit | 5ce3465016f3939bac488eee3c03913d6769dee7 (patch) | |
tree | 3dcc4dda580b5db3c4a29bb542785c7fc1ebaf14 /tests | |
parent | 2d914614233cd755166d63d0551d11c027516519 (diff) |
tests/drs-push-rejects: Cope with changed error message from git
git 2.40 prints a different message for trying to git-hash-object a
tag without a valid `tag` line.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/drs-push-rejects | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests/drs-push-rejects b/tests/tests/drs-push-rejects index f102d95..ee3e9f7 100755 --- a/tests/tests/drs-push-rejects +++ b/tests/tests/drs-push-rejects @@ -76,7 +76,7 @@ for h in object type tag; do rc=$? set -e - if [ $rc = 128 ] && grep 'fatal: corrupt tag' badtag.err; then + if [ $rc = 128 ] && egrep 'fatal: corrupt tag|error: object fails fsck: missing.*Entry: invalid format' badtag.err; then continue elif [ $rc != 0 ]; then cat badtag.err |