aboutsummaryrefslogtreecommitdiff
path: root/testdata/rescached.cfg.test.out
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-06-09 23:44:02 +0700
committerShulhan <ms@kilabit.info>2022-06-09 23:44:02 +0700
commit5c354863c9c6fcc080f2407e6f7adea41fa4371d (patch)
treeb892e13340335436e6a785a9267e080f937b10f8 /testdata/rescached.cfg.test.out
parent03ae9f6bfde5262b44d2318cc1162c20d867a3f6 (diff)
downloadrescached-5c354863c9c6fcc080f2407e6f7adea41fa4371d.tar.xz
all: add integration tests for HTTP API related to block.d
The test is conducted by running the server and call the HTTP API using the Client methods.
Diffstat (limited to 'testdata/rescached.cfg.test.out')
-rw-r--r--testdata/rescached.cfg.test.out20
1 files changed, 10 insertions, 10 deletions
diff --git a/testdata/rescached.cfg.test.out b/testdata/rescached.cfg.test.out
index e55d29c..8f36010 100644
--- a/testdata/rescached.cfg.test.out
+++ b/testdata/rescached.cfg.test.out
@@ -3,22 +3,22 @@ file.resolvconf =
wui.listen = 127.0.0.1:5381
debug = 1
-[block.d "pgl.yoyo.org"]
-name = pgl.yoyo.org
-url = http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&startdate[day]=&startdate[month]=&startdate[year]=&mimetype=plaintext
+[block.d "a.block"]
+name = a.block
+url = http://127.0.0.1:11180/hosts/a
-[block.d "someonewhocares.org"]
-name = someonewhocares.org
-url = http://someonewhocares.org/hosts/hosts
+[block.d "b.block"]
+name = b.block
+url = http://127.0.0.1:11180/hosts/b
+
+[block.d "c.block"]
+name = c.block
+url = http://127.0.0.1:11180/hosts/c
[block.d "test"]
name = test
url = http://someurl
-[block.d "winhelp2002.mvps.org"]
-name = winhelp2002.mvps.org
-url = http://winhelp2002.mvps.org/hosts.txt
-
[dns "server"]
listen = 127.0.0.1:5350
tls.certificate =