]> git.saurik.com Git - apple/shell_cmds.git/blobdiff - sh/tests/parameters/positional3.0
shell_cmds-198.tar.gz
[apple/shell_cmds.git] / sh / tests / parameters / positional3.0
diff --git a/sh/tests/parameters/positional3.0 b/sh/tests/parameters/positional3.0
new file mode 100644 (file)
index 0000000..1200469
--- /dev/null
@@ -0,0 +1,4 @@
+# $FreeBSD$
+
+r=$(${SH} -c 'echo ${01:+yes}${010:+yes}' '' a '' '' '' '' '' '' '' '' b)
+[ "$r" = yesyes ]