mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Fail a test if there is unexpected stderr output.
This commit is contained in:
@@ -380,6 +380,8 @@ check: $(TEST_PROGS) visudo testsudoers
|
||||
fi; \
|
||||
total=`expr $$total + 1`; \
|
||||
elif test -s $$err; then \
|
||||
failed=`expr $$failed + 1`; \
|
||||
echo "$$dir/$$base (stderr): FAIL"; \
|
||||
cat $$err 1>&2; \
|
||||
fi; \
|
||||
done; \
|
||||
|
Reference in New Issue
Block a user