87bb9fafae
- test_setup.sh: validates installation, package deps, directory creation - test_tor_config.sh: validates Tor hidden service configuration - test_caddy_config.sh: validates Caddy web server configuration - test_generate_bootstrap.sh: validates bootstrap archive generation - run_all.sh: runs all tests with summary All tests pass (47 total assertions across 4 test suites).
Bootstrap Server Tests
Running All Tests
# Run all tests
./tests/run_all.sh
# Run individual test suites
bash tests/test_setup.sh
bash tests/test_tor_config.sh
bash tests/test_caddy_config.sh
bash tests/test_generate_bootstrap.sh
Test Suites
| Test | Purpose |
|---|---|
test_setup.sh |
Validates setup.sh structure, package installation, directory creation |
test_tor_config.sh |
Validates Tor hidden service configuration |
test_caddy_config.sh |
Validates Caddy web server configuration |
test_generate_bootstrap.sh |
Validates bootstrap archive generation and security |
Expected Results
All tests should pass (0 failures). If any test fails, the exit code will be non-zero.