summaryrefslogtreecommitdiffstats
path: root/plugins/sudoers/regress/cvtsudoers/test27.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/regress/cvtsudoers/test27.sh')
-rwxr-xr-xplugins/sudoers/regress/cvtsudoers/test27.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/sudoers/regress/cvtsudoers/test27.sh b/plugins/sudoers/regress/cvtsudoers/test27.sh
new file mode 100755
index 0000000..afc29a8
--- /dev/null
+++ b/plugins/sudoers/regress/cvtsudoers/test27.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# Test base64 encoding of non-safe strings
+#
+
+exec 2>&1
+./cvtsudoers -c "" -b "ou=SUDOers©,dc=sudo,dc=ws" <<EOF
+Defaults badpass_message="Bad password¡"
+
+root ALL = ALL
+EOF