mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Ensure that the bug-reporting address is
included in the --help output for every program.
This commit is contained in:
1 parent
e2fac76db9
commit
3831de1f4c
1 file changed
+4
-1
+4
-1
@@ -54,9 +54,12 @@ for lang in C fr da; do
|
||||
test $i = install && i=ginstall
|
||||
|
||||
# Make sure they exit successfully, under normal conditions.
|
||||
../src/$i --help >/dev/null || fail=1
|
||||
../src/$i --help > h-$i || fail=1
|
||||
../src/$i --version >/dev/null || fail=1
|
||||
|
||||
# Make sure they mention the bug-reporting address in --help output.
|
||||
grep "$PACKAGE_BUGREPORT" h-$i > /dev/null || fail=1
|
||||
|
||||
# Make sure they fail upon `disk full' error.
|
||||
if test -w /dev/full && test -c /dev/full; then
|
||||
../src/$i --help >/dev/full 2>/dev/null && fail=1
|
||||
|
||||
Reference in new issue
Block a user