diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-04-23 00:00:37 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-04-23 00:17:49 -0400 |
commit | 1efa932e4aeb007eddb6424a90bf0fc05dba7e4d (patch) | |
tree | 288ae5aa5385f985cbd4818497e01cf845591617 /tests.sh | |
parent | 8df078ada9045ffceb541e224985a4e4191e1526 (diff) | |
download | bfs-1efa932e4aeb007eddb6424a90bf0fc05dba7e4d.tar.xz |
Implement -fstype
Fixes #6!
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 } |