summaryrefslogtreecommitdiffstats
path: root/tests.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-03-20 16:31:28 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-03-20 16:33:00 -0400
commit2acc028a7bc1bf0020da1e86ba8bc78ec0ae2eb2 (patch)
tree4928e28fddccd738dda1083d34d1c3a9aafb57ef /tests.sh
parentde6e4a133180167c651f6d7f8a6b0662ab485d89 (diff)
downloadbfs-2acc028a7bc1bf0020da1e86ba8bc78ec0ae2eb2.tar.xz
parse: Prettify some of the option-specific help
Diffstat (limited to 'tests.sh')
-rwxr-xr-xtests.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests.sh b/tests.sh
index 6ebdc50..711bbb6 100755
--- a/tests.sh
+++ b/tests.sh
@@ -2560,7 +2560,12 @@ function test_L_xattr() {
}
function test_help() {
- ! invoke_bfs -help | grep -E '\{...?\}'
+ invoke_bfs -help | grep -E '\{...?\}' && return 1
+ invoke_bfs -D help | grep -E '\{...?\}' && return 1
+ invoke_bfs -S help | grep -E '\{...?\}' && return 1
+ invoke_bfs -regextype help | grep -E '\{...?\}' && return 1
+
+ return 0
}