podman/tests/test_podman.sh
Ed Santiago aea393b7eb New tests subpackage
Define a new podman-tests subpackage, containing a set of
tests intended to be run as gates. As of this initial checkin,
this consists of a set of BATS tests in /usr/share/podman .

Include a configuration for running under Fedora CI

Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-03-13 06:45:03 -06:00

14 lines
264 B
Bash
Executable File

#!/bin/bash
#
# Simple podman tests
#
rm -f /tmp/test.log /tmp/test.debug.log
# Log program versions
rpm -q podman podman-tests >/tmp/test.debug.log
bats /usr/share/podman/test/system &> /tmp/test.log
echo "bats completed with status $?" >>/tmp/test.debug.log