summaryrefslogtreecommitdiffstats
path: root/tests/gnu/printf_nul.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnu/printf_nul.sh')
-rw-r--r--tests/gnu/printf_nul.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gnu/printf_nul.sh b/tests/gnu/printf_nul.sh
new file mode 100644
index 0000000..0b8b928
--- /dev/null
+++ b/tests/gnu/printf_nul.sh
@@ -0,0 +1,3 @@
+# NUL byte regression test
+invoke_bfs basic/a basic/b -maxdepth 0 -printf '%h\0%f\n' >"$OUT"
+diff_output