summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-05-11 18:50:35 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-05-11 18:50:35 -0400
commit4791c4a8f3474ee58531b8c88bfbac622dcc286d (patch)
tree35931fcd7af4e7c42191edbda93fbbcebbf9f2d6 /tests.sh
parent815b63fd3a630eb462e7ab9d8af09f19e129a5af (diff)
downloadbfs-4791c4a8f3474ee58531b8c88bfbac622dcc286d.tar.xz
Don't make -quit disable the implicit -print
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests.sh b/tests.sh
index d06c204..a07ae8a 100755
--- a/tests.sh
+++ b/tests.sh
@@ -219,11 +219,12 @@ bsd_tests=(
test_quit_child
test_quit_depth
test_quit_depth_child
+ test_quit_after_print
+ test_quit_before_print
+ test_quit_implicit_print
test_inum
test_nogroup
test_nouser
- test_quit_after_print
- test_quit_before_print
)
gnu_tests=(
@@ -977,6 +978,10 @@ function test_quit_before_print() {
bfs_diff basic basic -quit -print
}
+function test_quit_implicit_print() {
+ bfs_diff basic -name basic -o -quit
+}
+
function test_inum() {
local inode="$(ls -id basic/k/foo/bar | cut -f1 -d' ')"
bfs_diff basic -inum "$inode"