summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/testsudoers/test3.sh
blob: c1251b98e02eb8b9a754f17be44ce307d0e1a000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Test #include facility
#

MYUID=`\ls -lnd $TESTDIR/test3.d | awk '{print $3}'`
MYGID=`\ls -lnd $TESTDIR/test3.d | awk '{print $4}'`
exec 2>&1
./testsudoers -U $MYUID -G $MYGID root id <<EOF
#includedir $TESTDIR/test3.d
EOF

exit 0