summaryrefslogtreecommitdiffstats
path: root/tests/bfs
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-16 15:51:59 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-16 17:26:47 -0500
commite82a7f51d4b4e90df868e5410a0445b009b54ff2 (patch)
treec9efe94083800e3ea75721fc2c529729f9f691d2 /tests/bfs
parente50c19f284dad6b4b7b79f91cc8576a97626be8a (diff)
downloadbfs-e82a7f51d4b4e90df868e5410a0445b009b54ff2.tar.xz
tests: Print the skip reason for --verbose=skipped
Diffstat (limited to 'tests/bfs')
-rw-r--r--tests/bfs/execdir_plus.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/bfs/execdir_plus.sh b/tests/bfs/execdir_plus.sh
index 9ae7764..f66b898 100644
--- a/tests/bfs/execdir_plus.sh
+++ b/tests/bfs/execdir_plus.sh
@@ -1,7 +1,4 @@
tree=$(invoke_bfs -D tree 2>&1 -quit)
-
-if [[ "$tree" == *"-S dfs"* ]]; then
- skip
-fi
+[[ "$tree" == *"-S dfs"* ]] && skip
bfs_diff basic -execdir "$TESTS/sort-args.sh" {} +