]> git.proxmox.com Git - libgit2.git/blobdiff - tests/network/matchhost.c
Merge https://salsa.debian.org/debian/libgit2 into proxmox/bullseye
[libgit2.git] / tests / network / matchhost.c
diff --git a/tests/network/matchhost.c b/tests/network/matchhost.c
deleted file mode 100644 (file)
index 3100dc2..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "clar_libgit2.h"
-#include "netops.h"
-
-void test_network_matchhost__match(void)
-{
-       cl_git_pass(gitno__match_host("*.example.org", "www.example.org"));
-       cl_git_pass(gitno__match_host("*.foo.example.org", "www.foo.example.org"));
-       cl_git_fail(gitno__match_host("*.foo.example.org", "foo.example.org"));
-       cl_git_fail(gitno__match_host("*.foo.example.org", "www.example.org"));
-       cl_git_fail(gitno__match_host("*.example.org", "example.org"));
-       cl_git_fail(gitno__match_host("*.example.org", "www.foo.example.org"));
-       cl_git_fail(gitno__match_host("*.example.org", "blah.www.www.example.org"));
-}