podman/tests/test_podman.sh
Ed Santiago a68b9cccc3 gating tests: also log environment
Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-10-09 06:35:47 -06:00

18 lines
377 B
Bash
Executable File

#!/bin/bash -e
#
# Simple podman tests
#
# Log program and kernel versions
echo "Important package versions:"
(
uname -r
rpm -qa | egrep 'podman|conmon|crun|runc|iptable|slirp|systemd' | sort
) | sed -e 's/^/ /'
# Log environment; or at least the useful bits
echo "Environment:"
env | grep -v LS_COLORS= | sort | sed -e 's/^/ /'
bats /usr/share/podman/test/system