]> git.gag.com Git - debian/sudo/blob - plugins/sudoers/regress/testsudoers/test3.sh
Imported Upstream version 1.8.7
[debian/sudo] / plugins / sudoers / regress / testsudoers / test3.sh
1 #!/bin/sh
2 #
3 # Test #include facility
4 #
5
6 MYUID=`\ls -lnd $TESTDIR/test3.d | awk '{print $3}'`
7 MYGID=`\ls -lnd $TESTDIR/test3.d | awk '{print $4}'`
8 exec 2>&1
9 ./testsudoers -U $MYUID -G $MYGID root id <<EOF
10 #includedir $TESTDIR/test3.d
11 EOF
12
13 exit 0