From 34e523315c5731245fb17928f22e1fab443fe59c Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 25 Jul 2023 15:06:44 +0200 Subject: [PATCH] add smoke test Related: #2182490 --- tests/smoke/runtest.sh | 9 +++++++++ tests/tests.yml | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100755 tests/smoke/runtest.sh create mode 100644 tests/tests.yml diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100755 index 0000000..6a5ba2f --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -ex + +for b in gpsd gpscat gpspipe cgps gpsfake ubxtool; do + $b --help |& grep -i ^usage: +done + +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..934bafe --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,8 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - smoke + required_packages: