Files
systemd/test
Michael Vogt 352c1d8335 test: enable and fix the TEST-71 hostname wildcard test
test_wildcard() was never executed: run_testcases() only picks up
functions named testcase_* so this test never ran. This commmit
makes it run and fixes two issues in the test:

1. /etc/hostname is absent in the test image so we need to guard
   for that.
2. The pattern check was written as [[ "$P" == "$H" ]] with both
   sides quoted, but we need to one side unquoted as otherwise
   the comparison will always be false.

(cherry picked from commit aa0f05173b)
(cherry picked from commit 72f8d7f0aa)
(cherry picked from commit edaa73d842)
2026-06-26 16:24:12 +01:00
..
…
2026-02-26 10:24:31 +00:00
2025-12-07 09:09:03 +09:00
…