summaryrefslogtreecommitdiffstats
path: root/test/TEST-81-GENERATORS
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-04-03 22:38:37 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-04-06 13:16:40 +0200
commit17c9dbc98b4ba3e580c1de36db36fd99afb3ba56 (patch)
tree4c6b1908504293f62c29c230ab3a31c3770876ed /test/TEST-81-GENERATORS
parenttest: add a couple of tests for systemd-modules-load (diff)
downloadsystemd-17c9dbc98b4ba3e580c1de36db36fd99afb3ba56.tar.xz
systemd-17c9dbc98b4ba3e580c1de36db36fd99afb3ba56.zip
test: introduce TEST-81-GENERATORS
Add some explicit tests for various generators we ship, e.g.: - systemd-debug-generator - systemd-environment-d-generator - systemd-fstab-generator
Diffstat (limited to 'test/TEST-81-GENERATORS')
l---------test/TEST-81-GENERATORS/Makefile1
-rwxr-xr-xtest/TEST-81-GENERATORS/test.sh10
2 files changed, 11 insertions, 0 deletions
diff --git a/test/TEST-81-GENERATORS/Makefile b/test/TEST-81-GENERATORS/Makefile
new file mode 120000
index 0000000000..e9f93b1104
--- /dev/null
+++ b/test/TEST-81-GENERATORS/Makefile
@@ -0,0 +1 @@
+../TEST-01-BASIC/Makefile \ No newline at end of file
diff --git a/test/TEST-81-GENERATORS/test.sh b/test/TEST-81-GENERATORS/test.sh
new file mode 100755
index 0000000000..6c2f0d34aa
--- /dev/null
+++ b/test/TEST-81-GENERATORS/test.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
+set -e
+
+TEST_DESCRIPTION="Test systemd generators"
+
+# shellcheck source=test/test-functions
+. "${TEST_BASE_DIR:?}/test-functions"
+
+do_test "$@"