diff --git a/MANIFEST b/MANIFEST index 748ffad53..2e7d11a8c 100644 --- a/MANIFEST +++ b/MANIFEST @@ -450,6 +450,7 @@ plugins/sudoers/regress/cvtsudoers/test24.out.ok plugins/sudoers/regress/cvtsudoers/test24.sh plugins/sudoers/regress/cvtsudoers/test25.out.ok plugins/sudoers/regress/cvtsudoers/test25.sh +plugins/sudoers/regress/cvtsudoers/test26.err.ok plugins/sudoers/regress/cvtsudoers/test26.out.ok plugins/sudoers/regress/cvtsudoers/test26.sh plugins/sudoers/regress/cvtsudoers/test27.out.ok @@ -465,6 +466,7 @@ plugins/sudoers/regress/cvtsudoers/test30.sh plugins/sudoers/regress/cvtsudoers/test31.conf plugins/sudoers/regress/cvtsudoers/test31.out.ok plugins/sudoers/regress/cvtsudoers/test31.sh +plugins/sudoers/regress/cvtsudoers/test32.err.ok plugins/sudoers/regress/cvtsudoers/test32.out.ok plugins/sudoers/regress/cvtsudoers/test32.sh plugins/sudoers/regress/cvtsudoers/test33.out.ok diff --git a/plugins/sudoers/regress/cvtsudoers/test1.sh b/plugins/sudoers/regress/cvtsudoers/test1.sh index e2ff3cfd8..c1bd00152 100755 --- a/plugins/sudoers/regress/cvtsudoers/test1.sh +++ b/plugins/sudoers/regress/cvtsudoers/test1.sh @@ -3,7 +3,6 @@ # Test user and host filters # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -m user=millert,host=hercules $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test10.sh b/plugins/sudoers/regress/cvtsudoers/test10.sh index 25df83c26..3ca1691cb 100755 --- a/plugins/sudoers/regress/cvtsudoers/test10.sh +++ b/plugins/sudoers/regress/cvtsudoers/test10.sh @@ -3,7 +3,6 @@ # Test command defaults filtering # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -s aliases,privileges -d command $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test11.sh b/plugins/sudoers/regress/cvtsudoers/test11.sh index 1466689aa..7cbae9fe8 100755 --- a/plugins/sudoers/regress/cvtsudoers/test11.sh +++ b/plugins/sudoers/regress/cvtsudoers/test11.sh @@ -3,5 +3,4 @@ # Test that Aliases are removed when filtering by defaults type # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -d command $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test12.sh b/plugins/sudoers/regress/cvtsudoers/test12.sh index ea0f6bcd3..3ac1f5958 100755 --- a/plugins/sudoers/regress/cvtsudoers/test12.sh +++ b/plugins/sudoers/regress/cvtsudoers/test12.sh @@ -3,5 +3,4 @@ # Test that Aliases are removed when filtering by defaults type # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -d user $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test13.sh b/plugins/sudoers/regress/cvtsudoers/test13.sh index 4dd4750ca..44424263d 100755 --- a/plugins/sudoers/regress/cvtsudoers/test13.sh +++ b/plugins/sudoers/regress/cvtsudoers/test13.sh @@ -3,5 +3,4 @@ # Test that Aliases are removed when filtering by defaults type # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -d host $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test14.sh b/plugins/sudoers/regress/cvtsudoers/test14.sh index 3f310760e..90637a71e 100755 --- a/plugins/sudoers/regress/cvtsudoers/test14.sh +++ b/plugins/sudoers/regress/cvtsudoers/test14.sh @@ -3,5 +3,4 @@ # Test that Aliases are removed when filtering by defaults type # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -d runas $TESTDIR/sudoers.defs diff --git a/plugins/sudoers/regress/cvtsudoers/test15.sh b/plugins/sudoers/regress/cvtsudoers/test15.sh index 04a278829..5e02f6192 100755 --- a/plugins/sudoers/regress/cvtsudoers/test15.sh +++ b/plugins/sudoers/regress/cvtsudoers/test15.sh @@ -3,7 +3,6 @@ # Test filters and pruning # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -p -m user=user1 <&1 ./cvtsudoers -c "" -f sudoers -p -m user=user2,host=host2 <&1 ./cvtsudoers -c "" -f sudoers -p -m group=group1,host=host1 <&1 ./cvtsudoers -c "" -f sudoers -p -m group=group1,host=somehost <&1 ./cvtsudoers -c "" -f sudoers -p -m user=FULLTIMERS,host=SERVERS $TESTDIR/sudoers diff --git a/plugins/sudoers/regress/cvtsudoers/test2.sh b/plugins/sudoers/regress/cvtsudoers/test2.sh index e7f19f684..1c799f145 100755 --- a/plugins/sudoers/regress/cvtsudoers/test2.sh +++ b/plugins/sudoers/regress/cvtsudoers/test2.sh @@ -3,7 +3,6 @@ # Test user and host filters, expanding aliases # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -e -m user=millert,host=hercules $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test20.sh b/plugins/sudoers/regress/cvtsudoers/test20.sh index e7214e2dc..e90907732 100755 --- a/plugins/sudoers/regress/cvtsudoers/test20.sh +++ b/plugins/sudoers/regress/cvtsudoers/test20.sh @@ -3,7 +3,6 @@ # Test cvtsudoers.conf # -exec 2>&1 ./cvtsudoers -c $TESTDIR/test20.conf <&1 ./cvtsudoers -c $TESTDIR/test21.conf <&1 ./cvtsudoers -c "" -i ldif -b "ou=SUDOers,dc=sudo,dc=ws" -I 10 -O 10 < LDIF -> sudoers # -exec 2>&1 ./cvtsudoers -c "" -b "ou=SUDOers,dc=sudo,dc=ws" $TESTDIR/test23.out.ok | \ ./cvtsudoers -c "" -i LDIF -f sudoers | grep -v '^#' diff --git a/plugins/sudoers/regress/cvtsudoers/test24.sh b/plugins/sudoers/regress/cvtsudoers/test24.sh index 632502ea9..0399715a9 100755 --- a/plugins/sudoers/regress/cvtsudoers/test24.sh +++ b/plugins/sudoers/regress/cvtsudoers/test24.sh @@ -3,6 +3,5 @@ # Test round-tripping of LDIF -> sudoers -> LDIF # -exec 2>&1 ./cvtsudoers -c "" -i LDIF -f sudoers $TESTDIR/test24.out.ok | \ ./cvtsudoers -c "" -b "ou=SUDOers,dc=sudo,dc=ws" diff --git a/plugins/sudoers/regress/cvtsudoers/test25.sh b/plugins/sudoers/regress/cvtsudoers/test25.sh index 4cb8b4572..3ecb88e2c 100755 --- a/plugins/sudoers/regress/cvtsudoers/test25.sh +++ b/plugins/sudoers/regress/cvtsudoers/test25.sh @@ -3,7 +3,6 @@ # Test LDIF base64 attribute parsing # -exec 2>&1 ./cvtsudoers -c "" -i ldif -b "ou=SUDOers,dc=sudo,dc=ws" -I 10 -O 10 <&1 ./cvtsudoers -c "" -i ldif -b "ou=SUDOers,dc=sudo,dc=ws" -I 10 -O 10 <&1 ./cvtsudoers -c "" -b "ou=SUDOers©,dc=sudo,dc=ws" <&1 ./cvtsudoers -c "" -i ldif -f sudoers <&1 ./cvtsudoers -c "" -i ldif -f sudoers <&1 ./cvtsudoers -c "" -f sudoers -m group=wheel,host=blackhole $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test30.sh b/plugins/sudoers/regress/cvtsudoers/test30.sh index 80b08a574..20aa9ea5a 100755 --- a/plugins/sudoers/regress/cvtsudoers/test30.sh +++ b/plugins/sudoers/regress/cvtsudoers/test30.sh @@ -4,7 +4,6 @@ # See https://bugzilla.sudo.ws/show_bug.cgi?id=853 # -exec 2>&1 ./cvtsudoers -c "" -e -f json <&1 ./cvtsudoers -c $TESTDIR/test31.conf <&1 ./cvtsudoers -c "" -b "ou=SUDOers,dc=my-domain,dc=com" -O 1000 -P 1 <&1 ./cvtsudoers -c "" -i ldif -f sudoers <&1 ./cvtsudoers -c "" -f sudoers -e -m group=wheel,host=blackhole $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test5.sh b/plugins/sudoers/regress/cvtsudoers/test5.sh index 1c41772f0..1e7cdcf26 100755 --- a/plugins/sudoers/regress/cvtsudoers/test5.sh +++ b/plugins/sudoers/regress/cvtsudoers/test5.sh @@ -3,7 +3,6 @@ # Test defaults type filtering # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -s aliases,privileges -d all $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test6.sh b/plugins/sudoers/regress/cvtsudoers/test6.sh index 289fad977..cebb9575c 100755 --- a/plugins/sudoers/regress/cvtsudoers/test6.sh +++ b/plugins/sudoers/regress/cvtsudoers/test6.sh @@ -3,7 +3,6 @@ # Test global defaults filtering # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -s aliases,privileges -d global $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test7.sh b/plugins/sudoers/regress/cvtsudoers/test7.sh index 63af52907..3ebdb69df 100755 --- a/plugins/sudoers/regress/cvtsudoers/test7.sh +++ b/plugins/sudoers/regress/cvtsudoers/test7.sh @@ -3,7 +3,6 @@ # Test user defaults filtering # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -s aliases,privileges -d user $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test8.sh b/plugins/sudoers/regress/cvtsudoers/test8.sh index 785e0b55d..109c21920 100755 --- a/plugins/sudoers/regress/cvtsudoers/test8.sh +++ b/plugins/sudoers/regress/cvtsudoers/test8.sh @@ -3,7 +3,6 @@ # Test runas defaults filtering # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -s aliases,privileges -d runas $TESTDIR/sudoers exit 0 diff --git a/plugins/sudoers/regress/cvtsudoers/test9.sh b/plugins/sudoers/regress/cvtsudoers/test9.sh index de64a481c..18b4c5170 100755 --- a/plugins/sudoers/regress/cvtsudoers/test9.sh +++ b/plugins/sudoers/regress/cvtsudoers/test9.sh @@ -3,7 +3,6 @@ # Test host defaults filtering # -exec 2>&1 ./cvtsudoers -c "" -f sudoers -s aliases,privileges -d host $TESTDIR/sudoers exit 0