DL6ER
9315a252fd
Merge pull request #224 from pi-hole/new/DB_integrated_counters
...
Create new table "counters" and store integrated counters therein
2018-03-02 20:52:22 +01:00
DL6ER
2e79e5895f
Add test that no "FATAL" lines have been found in the log
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-02-17 13:24:31 +01:00
DL6ER
d48f3bb178
Update tests to expect the new table "counters" and version 2 of the database. Also check if the time stamp index was created.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-02-08 19:15:53 +01:00
Mcat12
590f1f97f7
Merge remote-tracking branch 'origin/development' into new/API
...
# Conflicts:
# FTL.h
# socket.c
2018-01-21 09:48:41 -05:00
DL6ER
7c10244e4d
Another small tweak for the test suite
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-01-20 15:21:16 +01:00
DL6ER
933bc52237
Fix tests due to corrected counting of forward destinations
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-01-20 15:18:33 +01:00
Mcat12
0013edb1c6
Merge remote-tracking branch 'origin/development' into new/API
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
# Conflicts:
# main.c
# request.c
# routines.h
# socket.c
2018-01-12 17:12:08 -05:00
DL6ER
bb7bf43421
Merge pull request #180 from pi-hole/new/IPv6support
...
Add dual-stack socket support for FTL
2018-01-12 19:15:40 +01:00
DL6ER
13b2fb3c35
Merge branch 'development' into new/IPv6support
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
Conflicts:
socket.c
2018-01-09 19:44:28 +01:00
DL6ER
ff6258f456
Fine-tune new tests
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-01-09 00:04:20 +01:00
DL6ER
85cf6c6623
Extend tests
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-01-09 00:01:55 +01:00
Mcat12
b5c9c6e809
Fix socket test
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-04 12:23:16 -05:00
Mcat12
e527985371
Implement getStats using MessagePack
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-04 12:04:04 -05:00
Mcat12
595ab259ca
Remove HTTP API specific code so it can be replaced with a new protocol
...
Adjusted tests to fit the current lack of output on the unix socket.
Added TELNET enum and used it in place of the old SOCKET to better fit
with the rest of the code base.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-03 20:16:50 -05:00
Mcat12
f62f9f085c
Disable HTTP tests as authorization is not gained in the tests yet
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-03 14:35:58 -05:00
Mcat12
8adb3d335e
Merge remote-tracking branch 'origin/development' into new/API
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-01-03 14:35:42 -05:00
DL6ER
b28a52c280
Extend test
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-01-01 02:56:19 +01:00
DL6ER
9e40d006eb
Add Unix socket test
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-01-01 01:05:17 +01:00
DL6ER
e4e5b0d45e
Use special socket file on Travis
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-01-01 01:02:54 +01:00
DL6ER
30fb2e7bca
Disable IPv6 test for now due to broken IPv6 support on Travis (see https://github.com/travis-ci/travis-ci/issues/8361 )
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-12-26 11:55:08 +01:00
DL6ER
a29da6065d
Add IPv6 socket connection test
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-12-26 11:32:51 +01:00
Mark Drobnak
1f5ca043f1
Add status to test summary data
2017-12-23 00:07:26 -05:00
Mcat12
604ad7ec39
Merge remote-tracking branch 'origin/development' into new/API
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
# Conflicts:
# request.c
# test/test_suite.sh
2017-12-22 23:08:18 -05:00
DL6ER
5da14ffcc7
Syntax error in test
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-11-22 18:47:27 +01:00
DL6ER
3ec7f59357
Adjust Travis tests as the hostname for 127.0.0.1 changed ... don't rely on it any longer
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-11-22 18:43:54 +01:00
DL6ER
9975f617bf
Add two tests for "invalid option" and "help"
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-11-04 13:35:11 +01:00
DL6ER
94b08d8080
Adjust test suite to account for the extra return "status ..." in ">stats"
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-10-05 17:53:35 +02:00
Mcat12
e2f2f0d2b7
Fix tests
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-09-27 00:40:50 -04:00
Mcat12
e5c4d19aaa
Merge remote-tracking branch 'origin/development' into new/API
2017-09-26 00:37:38 -04:00
DL6ER
d8e037fc32
Send confirmation after ">kill" command
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-24 11:20:04 +02:00
DL6ER
1c7f8dc2c0
Adjust tests to check for percentages instead of absolute numbers
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-20 17:23:56 +02:00
DL6ER
a8d0117cfc
Corrected tests
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-09-19 22:47:30 +02:00
DL6ER
21c9a497e2
Make "unique_clients" returning the number of clients that have been active within the most recent 24 hours (match the behavior of top-clients). Add "clients_ever_seen" to preserve the information of how many unique clients FTL has seen in its runtime (whether or not they have been active recently)
2017-08-13 14:53:45 +02:00
DL6ER
551351b178
We don't show "pi.hole" anymore in the results. Adjust tests (also for the API component) accordingly.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-08-07 12:43:25 +02:00
DL6ER
f64251eb3f
Merge branch 'development' into new/API
2017-08-07 11:00:20 +02:00
DL6ER
320e10f211
Adapt test suite as pi.hole is now an ignored domain (we will also check for that it does not appear anywhere in the statistics)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2017-07-20 20:34:40 +02:00
Mcat12
c9de13b492
Merge remote-tracking branch 'origin/development' into new/API
2017-07-17 22:13:12 -04:00
DL6ER
8b316c3d8a
Merge pull request #115 from pi-hole/fix/Travis-CI
...
Fix Travis test suite (work around a Travis bug)
2017-07-17 18:07:24 +02:00
DL6ER
5a5b04be43
Explicitly kill FTL at the end of the test suite to mitigate a Travis bug ( https://github.com/travis-ci/travis-ci/issues/8082 )
2017-07-17 11:53:45 +02:00
DL6ER
845bf8354f
Offer unsorted list of forward destinations (test may fails)
2017-07-08 13:59:23 +02:00
Mcat12
e0f462e1bf
The newline?
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-26 22:22:16 -04:00
Mcat12
5693b723a7
Fix top domains and ads tests
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2017-06-26 22:17:17 -04:00
DL6ER
bbb3df2fe5
Add a missing space, our tests require 100% accuracy
2017-06-26 16:35:51 +02:00
DL6ER
f566fd30dd
Fix tests
2017-06-26 16:27:02 +02:00
DL6ER
0dfb855605
Merge branch 'development' into new/API
...
Conflicts:
request.c
2017-06-26 16:08:38 +02:00
DL6ER
9619f135f2
Adapt tests to consider additional API output
2017-06-19 19:47:32 +02:00
DL6ER
9893ef6896
Adjust tests with new black.list interpretation
2017-06-18 10:36:44 +02:00
DL6ER
17a7823020
Merge branch 'development' into new/API
2017-06-18 10:31:22 +02:00
DL6ER
9a51c12c95
Adjust last test
2017-06-17 22:31:52 +02:00
DL6ER
12d795af75
Adjust tests
2017-06-17 19:16:39 +02:00