2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

14 lines
324 B
Bash
Executable File

#!/bin/sh
#
# Test #include facility w/o a final newline.
# Same as test2.sh but missing the final newline.
#
MYUID=`\ls -ln $TESTDIR/test2.inc | awk '{print $3}'`
MYGID=`\ls -ln $TESTDIR/test2.inc | awk '{print $4}'`
exec 2>&1
printf "#include $TESTDIR/test2.inc" | \
./testsudoers -U $MYUID -G $MYGID root id
exit 0