From ec2b24f07939626d2514ff57ae2a29efd5eee7b1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 May 2018 10:55:16 +0200 Subject: [PATCH] test: list more up-to-date urls in test-web-util This is based on @jsynacek's patch from #8837, but adds the new URL in two flavours instead of replacing the old, also making @keszybz happy. Replaces: #8837 --- src/test/test-web-util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/test-web-util.c b/src/test/test-web-util.c index ae4479d2232..dbc7781e060 100644 --- a/src/test/test-web-util.c +++ b/src/test/test-web-util.c @@ -10,7 +10,9 @@ static void test_is_valid_documentation_url(void) { assert_se(documentation_url_is_valid("http://www.freedesktop.org/wiki/Software/systemd")); - assert_se(documentation_url_is_valid("https://www.kernel.org/doc/Documentation/binfmt_misc.txt")); + assert_se(documentation_url_is_valid("https://www.kernel.org/doc/Documentation/binfmt_misc.txt")); /* dead */ + assert_se(documentation_url_is_valid("https://www.kernel.org/doc/Documentation/admin-guide/binfmt-misc.rst")); + assert_se(documentation_url_is_valid("https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html")); assert_se(documentation_url_is_valid("file:/foo/foo")); assert_se(documentation_url_is_valid("man:systemd.special(7)")); assert_se(documentation_url_is_valid("info:bar"));