15 lines
240 B
Bash
Executable File
15 lines
240 B
Bash
Executable File
#!/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
|