summary refs log tree commit diff
path: root/bin/1sh/tests/builtins/printf1.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/tests/builtins/printf1.0')
-rw-r--r--bin/1sh/tests/builtins/printf1.03
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/1sh/tests/builtins/printf1.0 b/bin/1sh/tests/builtins/printf1.0
new file mode 100644
index 00000000..a4ba8d8d
--- /dev/null
+++ b/bin/1sh/tests/builtins/printf1.0
@@ -0,0 +1,3 @@
+# $FreeBSD: releng/12.1/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' ]