out="regress/sudoers/$${base}.out"; \
toke="regress/sudoers/$${base}.toke"; \
json="regress/sudoers/$${base}.json"; \
- ./testsudoers -dt <$$t >$$out 2>$$toke || true; \
+ ASAN_OPTIONS=detect_leaks=0 \
+ ./testsudoers -dt <$$t >$$out 2>$$toke || true; \
if cmp $$out $(srcdir)/$$out.ok >/dev/null; then \
passed=`expr $$passed + 1`; \
echo "$$dir/$$base (parse): OK"; \
# Test sudoers owner check
#
+# Avoid warnings about memory leaks when there is a syntax error
+ASAN_OPTIONS=detect_leaks=0; export ASAN_OPTIONS
+
exec 2>&1
./testsudoers -U 1 root id <<EOF
#include $TESTDIR/test2.inc
# Test sudoers file mode check
#
+# Avoid warnings about memory leaks when there is a syntax error
+ASAN_OPTIONS=detect_leaks=0; export ASAN_OPTIONS
+
# Create test file
TESTFILE=`pwd`/regress/testsudoers/test5.inc
cat >$TESTFILE <<EOF