summaryrefslogtreecommitdiff
path: root/test/TEST-71-HOSTNAME
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-06-14 09:03:00 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-14 20:56:18 +0900
commit39f4546199d6394014cf79b76b9ff22d3c149c54 (patch)
tree948dcf8da5c8599f477359c24b78c49aa12a8ad5 /test/TEST-71-HOSTNAME
parentaab61a8c990a54703ae70ca951d0502860010267 (diff)
downloadsystemd-39f4546199d6394014cf79b76b9ff22d3c149c54.tar.gz
test: import hostnamed tests from debian/ubuntu test suite
Diffstat (limited to 'test/TEST-71-HOSTNAME')
l---------test/TEST-71-HOSTNAME/Makefile1
-rwxr-xr-xtest/TEST-71-HOSTNAME/test.sh10
2 files changed, 11 insertions, 0 deletions
diff --git a/test/TEST-71-HOSTNAME/Makefile b/test/TEST-71-HOSTNAME/Makefile
new file mode 120000
index 0000000000..e9f93b1104
--- /dev/null
+++ b/test/TEST-71-HOSTNAME/Makefile
@@ -0,0 +1 @@
+../TEST-01-BASIC/Makefile \ No newline at end of file
diff --git a/test/TEST-71-HOSTNAME/test.sh b/test/TEST-71-HOSTNAME/test.sh
new file mode 100755
index 0000000000..7b3d2d12d4
--- /dev/null
+++ b/test/TEST-71-HOSTNAME/test.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# SPDX-License-Identifier: LGPL-2.1-or-later
+set -e
+
+TEST_DESCRIPTION="test hostnamed"
+
+# shellcheck source=test/test-functions
+. "${TEST_BASE_DIR:?}/test-functions"
+
+do_test "$@"