summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/exec.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/exec.t b/tests/exec.t
index 941e0c0..689bd26 100755
--- a/tests/exec.t
+++ b/tests/exec.t
@@ -18,4 +18,6 @@ foreach (array("", "C", "de_CH", "de_CH.utf8") as $locale) {
is(it::exec("echo {arg}", array('arg' => $arg)), $arg . "\n", "exec with argument and umlaut (locale '$locale')");
}
-
+is(it::_exec_quotevalue(""), "''", "empty arg needs quotes");
+is(it::_exec_quotevalue("*"), "'*'", "special chars need quotes");
+is(it::_exec_quotevalue("Aabcdef0123456789"), "Aabcdef0123456789", "simple case. tel:debug_getdata needs unquoted vals");