From: Todd C. Miller Date: Mon, 16 Jan 2017 02:13:26 +0000 (-0700) Subject: only run vsyslog_test if it exists X-Git-Tag: SUDO_1_8_20^2~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a59ab8b7408a4586c8f6b12234831bd1d0086ad;p=sudo only run vsyslog_test if it exists --- diff --git a/lib/util/Makefile.in b/lib/util/Makefile.in index 425946bb3..60f9cbfd7 100644 --- a/lib/util/Makefile.in +++ b/lib/util/Makefile.in @@ -278,7 +278,9 @@ check: $(TEST_PROGS) rm -f ./progname_test2; ln -s ./progname_test ./progname_test2; \ ./progname_test2 || rval=`expr $$rval + $$?`; \ rm -f ./progname_test2; \ - ./vsyslog_test || rval=`expr $$rval + $$?`; \ + if test -f vsyslog_test; then \ + ./vsyslog_test || rval=`expr $$rval + $$?`; \ + fi; \ build_dir=`pwd`; \ cd $(srcdir); \ for dir in sudo_conf sudo_parseln; do \