Commit Graph

295 Commits (master)

Author SHA1 Message Date
Dan Schaper e480c761cd
Merge remote-tracking branch 'origin/new/FTL-binary' into new/FTL-binary
7 years ago
Dan Schaper 26c628f8a5
Mock ldd command response.
7 years ago
Dan Schaper 59d6907d71
Test aarch64 detection
7 years ago
Dan Schaper b4450a3918
Mock ldd command response.
7 years ago
Dan Schaper 7032be6049
Template for FTL engine type tests.
7 years ago
Dan Schaper 439999cb62
Last rule check.
7 years ago
Dan Schaper 409f76aa34
Error check.
7 years ago
Dan Schaper 54e2c6181a
Populate all required variables with a distro check.
7 years ago
Dan Schaper 2a5587f236
Test for failure.
7 years ago
Dan Schaper 2d18b2d784
Start test templates.
7 years ago
Dan Schaper d5587e32d0
Populated directory test
7 years ago
Dan Schaper 28eb348707
Individual Page tests
7 years ago
Dan Schaper 91bcc18e6a
Make full path to directory for pihole web page.
7 years ago
Dan Schaper 5b43f13935
Fresh install web page directory tests
7 years ago
Dan Schaper 0bbe0aed83
Last of the IPTables tests, new test rig is operating.
7 years ago
Dan Schaper b16f797317
`firewall-cmd --state` returns 0 on 'running' non 0 on 'not running',
7 years ago
Dan Schaper 4bb71ae046
IPtables tests.
7 years ago
Dan Schaper 679b098aa7
No firewall enabled test.
7 years ago
Dan Schaper e0e88fdb52
Start IPTables test, get baseline for commands in the container. See
7 years ago
Dan Schaper 8529c1287f
Full test suite for firewallD configuration.
7 years ago
Dan Schaper 9c7f7756b4
Revert second test.
7 years ago
Dan Schaper f1cfb16bf9
Test firewallD enabled and disabled.
7 years ago
Dan Schaper 95796e1978
Only expect text output, not the leader `:::`
7 years ago
Dan Schaper 968b981ecb
Try mocking whiptail
7 years ago
Dan Schaper 3aeb378b56
Fix moved incorrect blocks.
7 years ago
Dan Schaper 28bafe7427
Rename test for firewallD, running state.
7 years ago
Dan Schaper 1317b67657
Attempt at modifying firewall rules for testing.
7 years ago
Dan Schaper a48518d234
Update test rig for new firewalld
7 years ago
Dan Schaper 3ca21d8c8a Merge pull request #931 from pi-hole/update_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
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
8 years ago
diginc a03caea549 setupVar tests passing for debian & centos
8 years ago