This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".
The branch, master has been updated
via 682f7f693d77352e9495978c92037ef28377a024 (commit)
from 335fcd3f53f078f22602e90ef844fb4938098e20 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=682f7f693d77352e9495978c92037ef28377a024
commit 682f7f693d77352e9495978c92037ef28377a024
Author: Jim Meyering <[email protected]>
Date: Wed May 14 10:56:16 2025 -0700
tests: write-error-msg: avoid false-failure
* tests/write-error-msg: Do not require that a disk full
diagnostic include additional information. In some cases, there
is no valid errno value, so we cannot provide more information.
This was exposed by a patch that coincidentally caused the length
of grep's help output to be precisely 4096 bytes long.
Reported in https://bugs.gnu.org/77800
diff --git a/tests/write-error-msg b/tests/write-error-msg
index 38c4fa0..deb6d09 100755
--- a/tests/write-error-msg
+++ b/tests/write-error-msg
@@ -43,7 +43,7 @@ returns_ 2 grep -q --help >/dev/full 2>err3 || fail=1
# ensure each error message file contains a 'write error' with additional text
for f in err1 err2 err3 ;
do
- grep -Eiq '^[^:]*: write error: [a-z]+' $f \
+ grep -Eiq '^[^:]*: write error' $f \
|| {
warn_ "incorrect/missing error message in file $f"
compare /dev/null $f # print the content in the logs
@@ -51,10 +51,4 @@ do
}
done
-# These messages should be identical
-for f in err2 err3; do
- compare err1 $f \
- || { warn_ "err1,$f contain different error messages" ; fail=1 ; }
-done
-
Exit $fail
-----------------------------------------------------------------------
Summary of changes:
tests/write-error-msg | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
hooks/post-receive
--
grep