Emil Mikulic
|
d39cc3849a
|
test_auth: Add test for wrong auth.
|
2021-01-17 16:55:09 +11:00 |
|
Emil Mikulic
|
7e60a9b731
|
test_auth.py: Update to Python 3.
|
2021-01-17 16:52:47 +11:00 |
|
Emil Mikulic
|
3f236fd71b
|
test.py: close sockets, more Python 3 cleanups.
|
2021-01-17 16:36:26 +11:00 |
|
Emil Mikulic
|
67c506b620
|
Convert test.py to Python 3.
Unicode was a mistake.
|
2021-01-17 16:29:41 +11:00 |
|
Emil Mikulic
|
598a47fe9d
|
Add tests for --auth.
|
2020-07-01 21:22:17 +10:00 |
|
Emil Mikulic
|
47ba3fd7c7
|
-fno-omit-frame-pointer to get full backtraces in asan build.
|
2020-07-01 20:46:10 +10:00 |
|
Emil Mikulic
|
36ab416f73
|
Enable leak sanitizer.
|
2020-07-01 20:43:49 +10:00 |
|
Emil Mikulic
|
6c7fb762ac
|
Adjust test: make_safe_uri no longer strips query params.
|
2020-07-01 20:15:03 +10:00 |
|
Emil Mikulic
|
5fc747a64e
|
Add tests for fetching a file with a question mark in its name.
|
2020-07-01 20:15:03 +10:00 |
|
Emil Mikulic
|
9274bfbfe9
|
clang-warns: use clang in path by default.
|
2020-07-01 19:41:46 +10:00 |
|
Emil Mikulic
|
cbbaba25fb
|
Add benchmark.
|
2018-12-11 00:42:52 +11:00 |
|
Emil Mikulic
|
ba63a6d60f
|
Add test for --timeout.
|
2018-12-10 23:52:42 +11:00 |
|
Emil Mikulic
|
8207cf6b0f
|
run-tests: try to use the default gcc and clang.
|
2018-12-10 23:35:31 +11:00 |
|
Emil Mikulic
|
6e8abe2324
|
run-tests: don't mix msan with ubsan.
ubsan seems to be causing false positives for msan.
We already try ubsan together with asan.
|
2018-12-10 23:34:56 +11:00 |
|
Emil Mikulic
|
7d0fc1d9f9
|
Clean more.
|
2018-12-10 23:34:34 +11:00 |
|
Emil Mikulic
|
e5ce7390c3
|
open_sockets: finer grained timing.
|
2018-12-10 21:03:17 +11:00 |
|
Emil Mikulic
|
dcb89f3d0f
|
Add helper script for opening sockets until they run out.
|
2018-12-10 01:10:19 +11:00 |
|
Emil Mikulic
|
5f519fec8d
|
Add make_safe_url_new()
Contributed by: Bert Gijsbers
|
2018-12-09 23:44:33 +11:00 |
|
Emil Mikulic
|
6b91b9dc05
|
Add LLVM fuzzer.
|
2018-12-09 23:13:17 +11:00 |
|
Emil Mikulic
|
6acf37e879
|
Build with warnings.
|
2016-01-28 01:06:08 +11:00 |
|
Emil Mikulic
|
485ebd1a20
|
Run tests under msan.
|
2016-01-28 00:41:34 +11:00 |
|
Emil Mikulic
|
26e7adea15
|
Add asan and ubsan to tests, watch stderr.
|
2016-01-24 16:39:32 +11:00 |
|
Emil Mikulic
|
ae676feaeb
|
Add Makefile for tests and cleaning up.
|
2016-01-23 20:11:30 +11:00 |
|
Emil Mikulic
|
3478d24419
|
Make the output more obvious.
|
2016-01-23 20:10:10 +11:00 |
|
Emil Mikulic
|
112f1ccb92
|
Test builds with different defines.
|
2016-01-23 20:08:02 +11:00 |
|
Emil Mikulic
|
f913e17125
|
Rename "cover" to "run-tests"
|
2016-01-23 20:05:02 +11:00 |
|
Emil Mikulic
|
0ee2971740
|
Catch up to clang changes.
|
2016-01-14 00:57:42 +11:00 |
|
Emil Mikulic
|
853a6af62d
|
Indent, add dir, allow inconclusive.
|
2016-01-11 00:32:15 +11:00 |
|
Emil Mikulic
|
1c5fdb5607
|
Escape URLs according to RFC3986.
Previously, we weren't escaping parentheses when generating directory listings.
Pointed out by: Wijatmoko U. Prayitno
|
2015-05-19 22:04:39 +10:00 |
|
Emil Mikulic
|
c4c0034242
|
Add --default-mimetype flag.
|
2015-05-19 21:40:26 +10:00 |
|
Emil Mikulic
|
e9aeaba7fe
|
Add test for --no-listing.
|
2015-05-19 21:30:59 +10:00 |
|
Emil Mikulic
|
03a22661a0
|
Test keepalive.
|
2015-01-01 22:18:10 +11:00 |
|
Emil Mikulic
|
de92584da1
|
Add TestHelper.get()
|
2015-01-01 21:47:59 +11:00 |
|
Emil Mikulic
|
81b1bcbd74
|
Test for unreadable directory (can't generate listing).
|
2015-01-01 21:20:08 +11:00 |
|
Emil Mikulic
|
6e1f045393
|
Test resize in appendl().
|
2015-01-01 20:35:37 +11:00 |
|
Emil Mikulic
|
946a910935
|
Test 404 and 403.
|
2015-01-01 20:32:52 +11:00 |
|
Emil Mikulic
|
456bbfcde6
|
Test CRLF handling in read_line().
|
2015-01-01 20:17:03 +11:00 |
|
Emil Mikulic
|
72c5539412
|
When testing, build with -DDEBUG.
|
2015-01-01 18:32:01 +11:00 |
|
Emil Mikulic
|
f24c9d0d59
|
Add a harness for fuzzing make_safe_uri()
|
2015-01-01 18:15:10 +11:00 |
|
Emil Mikulic
|
e50accedb8
|
cp test_make_safe_uri.c fuzz_make_safe_uri.c
|
2015-01-01 17:10:47 +11:00 |
|
Emil Mikulic
|
5058dfeb03
|
Add test for urldecode()
|
2014-05-26 22:01:22 +10:00 |
|
Emil Mikulic
|
0001301dae
|
cppcheck: use --force to check all #ifdef configurations.
|
2014-05-26 21:56:29 +10:00 |
|
Emil Mikulic
|
e8a38f9c6a
|
Remove query params.
Reported by: James Antill
https://bugzilla.redhat.com/show_bug.cgi?id=1099199
|
2014-05-26 21:36:29 +10:00 |
|
Emil Mikulic
|
5854227fc7
|
Mark cppcheck executable.
|
2014-03-14 22:51:43 +11:00 |
|
Emil Mikulic
|
9fe3ed4fc1
|
Run test_make_safe_uri. Retire broken run-tests.sh
|
2014-03-14 22:50:44 +11:00 |
|
Emil Mikulic
|
f73bf69a1e
|
Implement --forward-all to forward all requests to a given url.
Suggested and initially implemented by: Christian Hesse <mail@eworm.de>
|
2014-03-14 22:40:55 +11:00 |
|
Emil Mikulic
|
c97d2c4042
|
Add script to run cppcheck.
|
2014-03-14 21:52:59 +11:00 |
|
Emil Mikulic
|
7dc06f3096
|
Add test for --mimetypes
|
2013-06-10 20:44:20 +10:00 |
|
Emil Mikulic
|
e6680c4f2f
|
Add test to exercise memove() in make_safe_url()
|
2013-06-10 19:26:25 +10:00 |
|
Emil Mikulic
|
7551090ac5
|
Tests: add pointer to cover script which runs them.
|
2013-06-10 18:52:38 +10:00 |
|