From ae7679a31e491d85a9aa7d45c1d4af5285189baa Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 18 Mar 2013 15:31:04 -0400 Subject: [PATCH] Fail a test if there is unexpected stderr output. --- plugins/sudoers/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/sudoers/Makefile.in b/plugins/sudoers/Makefile.in index 5916cd569..cd814e97e 100644 --- a/plugins/sudoers/Makefile.in +++ b/plugins/sudoers/Makefile.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; \