--- /dev/null
+Parses OK.
+
+
+
+%:C/non UNIX 0 c ALL = (ALL) ALL
+%:C/non\'UNIX\'1 c ALL = (ALL) ALL
+%:C/non"UNIX"0 c ALL = (ALL) ALL
+%:C/non_UNIX_0 c ALL = (ALL) ALL
+%:C/non\'UNIX_3 c ALL = (ALL) ALL
# See http://www.sudo.ws/bugs/show_bug.cgi?id=437
#
-WANT=${SRCDIR-.}/regress/visudo/test1.ok
-GOT=vs_test1.out
-./visudo -c -f- > $GOT <<EOF
+WANT=${SRCDIR-.}/regress/testsudoers/test2.out
+GOT=ts_test2.out
+./testsudoers -d > $GOT <<EOF
"%:C/non UNIX 0 c" ALL=(ALL) ALL
"%:C/non\'UNIX\'1 c" ALL=(ALL) ALL
"%:C/non\"UNIX\"0 c" ALL=(ALL) ALL
# Check results
if cmp $WANT $GOT >/dev/null; then
- echo "visudo 2: OK"
+ echo "testsudoers 2: OK"
else
- echo "visudo 2: FAILED"
+ echo "testsudoers 2: FAILED"
diff $WANT $GOT
fi