2
0
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:
Todd C. Miller
2013-03-18 15:31:04 -04:00
parent 6bd8848608
commit ae7679a31e

View File

@@ -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; \