systemd/build/unit-tests/test.sh
Frantisek Sumsal 1c33f2f4db Add a basic unit-test runner
Let's start with something simple to test things out.
2023-07-12 10:55:20 +02:00

11 lines
183 B
Bash
Executable file

#!/bin/bash
set -eux
set -o pipefail
if ! rpm -q systemd-tests; then
echo >&2 "Missing package 'systemd-tests'"
exit 1
fi
/usr/lib/systemd/tests/run-unit-tests.py --unsafe