Ryan Schmidt
20ba8038ac
Tests: Use netstat to list occupied ports on macOS
...
Use netstat instead of ss to list the occupied ports on macOS since
macOS doesn't have ss.
Closes #139
2022-05-10 19:46:26 +03:00
Adrian Perez de Castro
b0e1fa83a8
CI: Move over to GitHub Actions
2021-10-26 01:12:26 +03:00
Adrian Perez de Castro
604b43b336
Add pup() and use() function to allow skipping when pup is unavailable
...
The "use pup" construct will skip a test case that needs pup installed.
The pup() function ensures that the downloaded binary is used.
2018-07-03 02:16:45 +03:00
Adrian Perez de Castro
60f09e450d
Allow skipping test cases
...
This defines a skip() function in the tests preamble which can
be used to skip tests. Skipped tests are counted, and a reason
for them being skipped printed after running the tests.
2018-07-03 02:16:45 +03:00
Adrian Perez de Castro
ee17ca1a65
Use in tests the generic method to pass config options
...
Instead of having variables being flipped around, just specify which Nginx
directives are needed in the configuration file.
2016-12-07 20:20:34 +02:00
Anders Trier Olesen
6442f26527
Add test for fancyindex_exact_size off
2016-11-04 01:31:05 +02:00
Adrian Perez de Castro
038434dd9f
Ensure that a clean environment is used to launch Nginx in tests
...
This avoids potential issues when running the tests in environments which
might set variables which Nginx tries to read on startup. For example,
the $NGINX variable was being picked from the Travis-CI build matrix
configuration.
2016-08-18 16:48:28 +03:00
Adrian Perez de Castro
3789187861
Tests: Smoke-test that the module is returning data
2016-08-18 00:44:07 +03:00
Adrian Perez de Castro
85ad712764
Tests: Move preamble out of t/run
2016-08-18 00:44:07 +03:00