mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +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; \
|
fi; \
|
||||||
total=`expr $$total + 1`; \
|
total=`expr $$total + 1`; \
|
||||||
elif test -s $$err; then \
|
elif test -s $$err; then \
|
||||||
|
failed=`expr $$failed + 1`; \
|
||||||
|
echo "$$dir/$$base (stderr): FAIL"; \
|
||||||
cat $$err 1>&2; \
|
cat $$err 1>&2; \
|
||||||
fi; \
|
fi; \
|
||||||
done; \
|
done; \
|
||||||
|
Reference in New Issue
Block a user