#
USER=`\ls -l $TESTDIR/test2.inc | awk '{print $3}'`
-UID=`id -u $USER`
+MYUID=`id -u $USER`
exec 2>&1
-./testsudoers -U $UID root id <<EOF
+./testsudoers -U $MYUID root id <<EOF
#include $TESTDIR/test2.inc
EOF
#
USER=`\ls -l $TESTDIR/test2.inc | awk '{print $3}'`
-UID=`id -u $USER`
+MYUID=`id -u $USER`
exec 2>&1
-./testsudoers -U $UID root id <<EOF
+./testsudoers -U $MYUID root id <<EOF
#includedir $TESTDIR/test3.d
EOF
EOF
USER=`\ls -l $TESTFILE | awk '{print $3}'`
-UID=`id -u $USER`
+MYUID=`id -u $USER`
exec 2>&1
# Test world writable
chmod 666 $TESTFILE
-./testsudoers -U $UID root id <<EOF
+./testsudoers -U $MYUID root id <<EOF
#include $TESTFILE
EOF
# Test group writable
chmod 664 $TESTFILE
-./testsudoers -U $UID -G 1 root id <<EOF
+./testsudoers -U $MYUID -G 1 root id <<EOF
#include $TESTFILE
EOF