summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-02-02 11:26:22 -0700
committerEd Santiago <santiago@redhat.com>2022-02-02 11:26:22 -0700
commit3d3e8d8f8a6ec3b5d7925f8dd05d324085441b41 (patch)
tree769896dfbe1cc2d63e2028a8ad8fc112f5ec3f22
parent21a8ee904465b1aa54ce5fa6e3bbf93519ca0442 (diff)
downloadpodman-3d3e8d8f8a6ec3b5d7925f8dd05d324085441b41.tar.gz
podman-3d3e8d8f8a6ec3b5d7925f8dd05d324085441b41.tar.bz2
podman-3d3e8d8f8a6ec3b5d7925f8dd05d324085441b41.zip
hack/bats: fix broken usage message
I am so, so sorry. Signed-off-by: Ed Santiago <santiago@redhat.com>
-rwxr-xr-xhack/bats15
1 files changed, 9 insertions, 6 deletions
diff --git a/hack/bats b/hack/bats
index 0776521f4..ca9835a1f 100755
--- a/hack/bats
+++ b/hack/bats
@@ -6,18 +6,21 @@
###############################################################################
# BEGIN usage message
-usage="Usage: $0 [--root] [--rootless] [--filter=filename[:testname]]
+usage="Usage: $0 [--root] [--rootless] [FILENAME-PATTERN[:TEST-PATTERN]]
$0 is a wrapper for invoking podman system tests.
--root Run only as root
--rootless Run only as user (i.e. you)
- --filter=name Run only test files that match 'test/system/*name*',
- e.g. '500' or 'net' will match 500-networking.bats.
- If ':pattern' is appended, and you have a modern-enough
- version of bats installed, runs with '--filter pattern'
- which runs only subtests that match 'pattern'
+ FILENAME-PATTERN Run only test files that match 'test/system/*name*',
+ e.g. '500' or 'net' will match 500-networking.bats.
+
+ TEST-PATTERN When appended to a filename-pattern, and you have a
+ modern-enough version of bats installed (i.e. Fedora
+ but not RHEL), runs with '--filter TEST-PATTERN' which
+ runs only subtests within FILENAME-PATTERH whose names
+ match that string.
-T Passed on to bats, which will then show timing data