Dan Schaper
d5587e32d0
Populated directory test
8 years ago
Dan Schaper
28eb348707
Individual Page tests
8 years ago
Dan Schaper
91bcc18e6a
Make full path to directory for pihole web page.
8 years ago
Dan Schaper
5b43f13935
Fresh install web page directory tests
8 years ago
Dan Schaper
0bbe0aed83
Last of the IPTables tests, new test rig is operating.
8 years ago
Dan Schaper
b16f797317
`firewall-cmd --state` returns 0 on 'running' non 0 on 'not running',
...
so check retval and not text returned.
FirewallD conversion to multicall
IPTables test
8 years ago
Dan Schaper
4bb71ae046
IPtables tests.
...
mock commands for iptables check.
Test setting IPTables ruleset.
Test setting IPTables ruleset.
Test for already configured IPTables rules.
Test for addition of iptables rules.
Can only mock so deep in the commands.
8 years ago
Dan Schaper
679b098aa7
No firewall enabled test.
8 years ago
Dan Schaper
e0e88fdb52
Start IPTables test, get baseline for commands in the container. See
...
what we have to mock to start testing.
8 years ago
Dan Schaper
8529c1287f
Full test suite for firewallD configuration.
8 years ago
Dan Schaper
9c7f7756b4
Revert second test.
8 years ago
Dan Schaper
f1cfb16bf9
Test firewallD enabled and disabled.
8 years ago
Dan Schaper
95796e1978
Only expect text output, not the leader `:::`
8 years ago
Dan Schaper
968b981ecb
Try mocking whiptail
8 years ago
Dan Schaper
3aeb378b56
Fix moved incorrect blocks.
8 years ago
Dan Schaper
28bafe7427
Rename test for firewallD, running state.
8 years ago
Dan Schaper
1317b67657
Attempt at modifying firewall rules for testing.
8 years ago
Dan Schaper
a48518d234
Update test rig for new firewalld
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Dan Schaper
3ca21d8c8a
Merge pull request #931 from pi-hole/update_tests
...
Add piholeDebug to CI Travis tests
8 years ago
Dan Schaper
808503d526
Add piholeDebug to tests
8 years ago
diginc
b9f3493dbc
move PH_TRUE to Dockerfiles to DRY
8 years ago
Adam Hill
c2930b0ca5
remove the debug print in mock_command
8 years ago
diginc
5b54b9cb11
update Pihole fixture comment
8 years ago
diginc
d2f815bba7
no longer need to write bash test scripts
8 years ago
diginc
a5a067d50f
switching testinfra's Docker run from dash to bash
8 years ago
diginc
699e299345
add a comment about bash vs dash. future refact needed
8 years ago
diginc
05e114173d
update comments, add configureFirewall test
...
* Comments to clarify some of the existing tests
* mock_command to allow recording of calls and mocking return calls in bash
* new configureFirewall test (only the first one of it's many paths)
8 years ago
diginc
0d7e06a141
remove old pytest output file
8 years ago
Dan Schaper
a1a9a7fa9e
Clarify which DNS entry we are modifying.
8 years ago
Dan Schaper
07029f93e3
Match team convention in naming.
8 years ago
Dan Schaper
e99ef9c093
Cap the variables and echo out the proper environment.
8 years ago
Dan Schaper
fef9ab674e
Pi-hole CORE installer variables are being changed to standardize scripts.
8 years ago
diginc
7548d9a8fe
point shellcheck at update.sh instead
8 years ago
diginc
97c44042e1
Adding failing shellcheck test and results
...
Should be useful for showing others why other changes were made in the next commit.
8 years ago
diginc
a03caea549
setupVar tests passing for debian & centos
8 years ago