mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
14 lines
324 B
Bash
14 lines
324 B
Bash
![]() |
#!/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
|