]> granicus.if.org Git - sudo/commitdiff
Remove generated file and change path for temporary include file.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 23 Aug 2012 18:57:57 +0000 (14:57 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 23 Aug 2012 18:57:57 +0000 (14:57 -0400)
plugins/sudoers/regress/testsudoers/test5.inc [deleted file]
plugins/sudoers/regress/testsudoers/test5.sh

diff --git a/plugins/sudoers/regress/testsudoers/test5.inc b/plugins/sudoers/regress/testsudoers/test5.inc
deleted file mode 100644 (file)
index 52ca040..0000000
+++ /dev/null
@@ -1 +0,0 @@
-root ALL = ALL
index c71c09012f0612fd371bd72ab916d69a1d8a7259..0058da67b982331a74f9bd12a849aa6dc9f6e7fd 100755 (executable)
@@ -4,7 +4,7 @@
 #
 
 # Create test file
-TESTFILE=`pwd`/test5.inc
+TESTFILE=`pwd`/regress/testsudoers/test5.inc
 cat >$TESTFILE <<EOF
 root ALL = ALL
 EOF
@@ -24,3 +24,5 @@ chmod 664 $TESTFILE
 ./testsudoers -U $UID -G 1 root id <<EOF
 #include $TESTFILE
 EOF
+
+rm -f $TESTFILE