summary refs log tree commit diff
path: root/bin/cash/tests/builtins/printf1.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cash/tests/builtins/printf1.0')
-rw-r--r--bin/cash/tests/builtins/printf1.03
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/cash/tests/builtins/printf1.0 b/bin/cash/tests/builtins/printf1.0
new file mode 100644
index 00000000..0669bd49
--- /dev/null
+++ b/bin/cash/tests/builtins/printf1.0
@@ -0,0 +1,3 @@
+# $FreeBSD: releng/12.0/bin/sh/tests/builtins/printf1.0 214853 2010-11-05 21:47:58Z jilles $
+
+[ "$(printf '%c\0%s%d' x '\' 010 | tr '\0' Z)" = 'xZ\8' ]