summaryrefslogtreecommitdiff
path: root/src/test/test-web-util.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-06-28 12:00:47 +0200
committerMichael Biebl <biebl@debian.org>2022-06-28 13:10:05 +0200
commit41d6f3bf4d6de680a2d7b735690d655bc2f00944 (patch)
tree200374d267d2461a82330deff03ec6a4f1d8cd71 /src/test/test-web-util.c
parentf0390fa03456ecb4d5f1482bd20a28ea98ae4d58 (diff)
downloadsystemd-41d6f3bf4d6de680a2d7b735690d655bc2f00944.tar.gz
Use https for freedesktop.org
grep -l -r http:// | xargs sed -E -i s'#http://(.*).freedesktop.org#https://\1.freedesktop.org#'
Diffstat (limited to 'src/test/test-web-util.c')
-rw-r--r--src/test/test-web-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-web-util.c b/src/test/test-web-util.c
index f17e5ec988..368ccba326 100644
--- a/src/test/test-web-util.c
+++ b/src/test/test-web-util.c
@@ -5,7 +5,7 @@
#include "web-util.h"
TEST(is_valid_documentation_url) {
- assert_se(documentation_url_is_valid("http://www.freedesktop.org/wiki/Software/systemd"));
+ assert_se(documentation_url_is_valid("https://www.freedesktop.org/wiki/Software/systemd"));
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"));