summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index a4068d6..11c1057 100755
--- a/tests.sh
+++ b/tests.sh
@@ -481,6 +481,7 @@ gnu_tests=(
test_printf_leak
test_printf_nul
test_printf_Y_error
+ test_printf_H
test_quit
test_quit_child
@@ -1789,6 +1790,10 @@ function test_printf_Y_error() {
[ $ret -eq $EX_BFS ]
}
+function test_printf_H() {
+ bfs_diff basic links -printf '%%p(%p) %%d(%d) %%f(%f) %%h(%h) %%H(%H) %%P(%P) %%m(%m) %%M(%M) %%y(%y)\n'
+}
+
function test_fstype() {
fstype="$(invoke_bfs basic -maxdepth 0 -printf '%F\n')"
bfs_diff basic -fstype "$fstype"