]> granicus.if.org Git - sudo/commitdiff
Add explicit "exit 0" to prevent the check target from ending
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Mar 2013 20:11:24 +0000 (16:11 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Mar 2013 20:11:24 +0000 (16:11 -0400)
prematurely.

plugins/sudoers/regress/testsudoers/test1.sh
plugins/sudoers/regress/testsudoers/test2.sh
plugins/sudoers/regress/testsudoers/test3.sh
plugins/sudoers/regress/testsudoers/test4.sh
plugins/sudoers/regress/testsudoers/test5.sh
plugins/sudoers/regress/visudo/test1.sh
plugins/sudoers/regress/visudo/test2.sh
plugins/sudoers/regress/visudo/test3.sh

index 31f5ba029074d82933eca2e63b0c7d63b6a929f7..48f1faa88d3afb4f6350a93c29792b6b38b08165 100755 (executable)
@@ -9,3 +9,5 @@ exec 2>&1
 ./testsudoers -g bin root id <<EOF
 root ALL = ALL
 EOF
+
+exit 0
index 2d9da3f5cee39d755ea308f9b8c4e810aa66446e..a34871f02a12ffda1191c3ab69e0bfe4fc8129a5 100755 (executable)
@@ -9,3 +9,5 @@ exec 2>&1
 ./testsudoers -U $MYUID root id <<EOF
 #include $TESTDIR/test2.inc
 EOF
+
+exit 0
index f8dfcf6d21e32191a7074c807f835d53019fe72d..edc67a0b462818ca6f14353b87345f4d1abc9e21 100755 (executable)
@@ -9,3 +9,5 @@ exec 2>&1
 ./testsudoers -U $MYUID root id <<EOF
 #includedir $TESTDIR/test3.d
 EOF
+
+exit 0
index 067f43e1245505c7091037116d562b4546efab92..03947f34c7cf5c420e3b82c7f39fac6205ad6680 100755 (executable)
@@ -7,3 +7,5 @@ exec 2>&1
 ./testsudoers -U 1 root id <<EOF
 #include $TESTDIR/test2.inc
 EOF
+
+exit 0
index 4c08b8a3cc42f9c02264b86f62d28b96e4304d82..1923d677fe4eb88fc2460875263150ae08219863 100755 (executable)
@@ -26,3 +26,4 @@ chmod 664 $TESTFILE
 EOF
 
 rm -f $TESTFILE
+exit 0
index fbd6a51454f642b517a80ee4c7cd4c8fd268d7f5..c922e35d1d06d068721b46413ae1237ce0306916 100755 (executable)
@@ -8,3 +8,5 @@
 User_Alias FOO = nobody
 FOO ALL=(ALL) NOPASSWD: ALL
 EOF
+
+exit 0
index d17866765bbf56926a1437fcf378adca575f3f3a..41d37112fbbe2daf53d199e9894e56fd1472280f 100755 (executable)
@@ -11,3 +11,5 @@ User_Alias XXX = nobody
 User_Alias FOO = XXX, YYY
 FOO ALL = ALL
 EOF
+
+exit 0
index 2216986cb327a4c235c2e7e940d4a1ccc9262e9e..8172d3006b667d60aed9814064fa2f16ae95c9f1 100755 (executable)
@@ -31,3 +31,5 @@ M     ALL=(ALL) ALL
 K      ALL=(ALL) ALL
 I      ALL=(ALL) ALL
 EOF
+
+exit 0