Commit Graph

2 Commits

Author SHA1 Message Date
Ed Santiago a75b263f75 system tests: remove unhelpful assertions
Regular primitive bats uses assertions like '[ $foo = something ]'.
These are worthless for debugging: when they fail, all you know
is that foo is not "something" but you don't know what foo _is_.

Find and replace those assertions with 'assert', which is
more informative. Instances found via:

   $ ack '^ *\[' tests/*.bats

There are many matches for 'test' (instead of '[') but those
mostly look like file-existence ones, which are less evil
than string-check tests. I'm leaving those be for now.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-01-05 08:20:25 -07:00
Hironori Shiina af9df678ba Add system test of 'buildah help' with a tiny fix
Add a system test of 'buildah help' copying a system test of
'podman help'.

Remove an unexpected empty line from the usage template of
commands.

Signed-off-by: Hironori Shiina <shiina.hironori@jp.fujitsu.com>
2021-04-19 17:52:14 -04:00