summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/testsudoers/test4.sh
blob: 3eaaa1dac96fcc8b84b79a2b1ecc75761e8f8823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# 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
EOF

exit 0