automation-tests/hack
Ed Santiago bf94ebf423 System tests: tighten 'is' operator
Fix day-one sloppiness: when I first wrote this framework
it compared strings using 'expr', not '=', to be more
forgiving of extra cruft in output. This was a bad decision.
It means that warnings or additional text are ignored:

    is "all is ok, NOT!"  "all is ok"  <-- this would pass

Solution: tighten up the 'is' check. Use '=' (direct
compare) first. If it fails, look for wild cards ('*')
or character classes ('[') in the expect string. If
so, and only then, use 'expr'. And, thanks to a clever
suggestion from Luap99, include '(using expr)' in the
error message when we do so; this could make it easier
for a developer to understand a string mismatch.

This change exposes a lot of instances in which we weren't
doing proper comparisons. Fix those. Thankfully, there
weren't as many as I'd feared.

Also, and completely unrelated, add '-T' flag to bats
helper, for showing timing results. (I will open this
as a separate PR if requested. I too find it offensive
to jumble together unrelated commits.)

Signed-off-by: Ed Santiago <santiago@redhat.com>
2021-09-30 13:32:51 -06:00
..
podman-registry-go standardize logrus messages to upper case 2021-09-22 15:29:34 -04:00
apparmor_tag.sh
bats System tests: tighten 'is' operator 2021-09-30 13:32:51 -06:00
branch_commits.rb Add script for identifying commits in release branches 2021-05-17 16:40:35 -04:00
btrfs_installed_tag.sh
btrfs_tag.sh
check_root.sh
get_ci_vm.sh
golangci-lint.sh
install_bats.sh
install_catatonit.sh
install_golangci.sh
libdm_tag.sh
libsubid_tag.sh Add support for libsubid 2021-08-27 08:13:01 -04:00
man-page-checker
podman-commands.sh
podman-registry podman-registry: minor usability updates 2021-08-02 14:01:47 -06:00
podman-socat
podmanv2-retry
release.sh Remove changelog.txt from the repository 2021-09-07 10:53:26 -04:00
selinux_tag.sh
swagger-check Fix swagger issue 2021-08-25 15:50:55 -05:00
systemd_tag.sh
tree_status.sh
xref-helpmsgs-manpages Fix up build the docs site 2021-09-16 17:41:00 -04:00