summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests.sh b/tests.sh
index 0585ff4..de0afb7 100755
--- a/tests.sh
+++ b/tests.sh
@@ -394,6 +394,7 @@ bfs_tests=(
test_execdir_plus
test_hidden
test_nohidden
+ test_printf_w
test_path_flag_expr
test_path_expr_flag
test_flag_expr_path
@@ -1290,6 +1291,11 @@ function test_printf_nul() {
fi
}
+function test_printf_w() {
+ # Birth times may not be supported, so just check that %w/%W can be parsed
+ bfs_diff times -false -printf '%w %WY\n'
+}
+
function test_fstype() {
fstype="$(invoke_bfs -printf '%F\n' | head -n1)"
bfs_diff basic -fstype "$fstype"