From 1efa932e4aeb007eddb6424a90bf0fc05dba7e4d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 23 Apr 2017 00:00:37 -0400 Subject: Implement -fstype Fixes #6! --- tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 5fed800..e3cdb52 100755 --- a/tests.sh +++ b/tests.sh @@ -292,6 +292,7 @@ gnu_tests=( test_printf_leak test_quit_after_print test_quit_before_print + test_fstype test_not test_and test_or @@ -1019,6 +1020,11 @@ function test_printf_leak() { bfs_diff basic -maxdepth 0 -printf '%p' } +function test_fstype() { + fstype="$($BFS -printf '%F\n' | head -n1)" + bfs_diff basic -fstype "$fstype" +} + function test_path_flag_expr() { bfs_diff links/h -H -type l } -- cgit v1.2.3