8 trap 'onexit' INT TERM EXIT
11 while [ $# -ne 0 ]; do
19 # Run standalone unit tests.
20 run_test test_punycode
23 # Run configuration dumping test.
24 run_test test_dump_config
26 if [ "${SKIP_RUNTIME_TESTS:-0}" -eq 1 ]; then
28 echo "======================"
29 echo "runtime tests skipped!"
30 echo "======================"
36 # Run regression tests for the gemexp binary.
39 # Run regression tests for the gmid binary.
40 run_test test_static_files
41 run_test test_directory_redirect
42 run_test test_serve_big_files
43 run_test test_dont_execute_scripts
44 run_test test_custom_mime
45 run_test test_default_type
46 run_test test_custom_lang
47 run_test test_parse_custom_lang_per_location
48 run_test test_custom_index
49 run_test test_custom_index_default_type_per_location
50 run_test test_auto_index
52 run_test test_block_return_fmt
53 run_test test_require_client_ca
54 run_test test_root_inside_location
55 run_test test_root_inside_location_with_redirect
57 run_test test_fastcgi_inside_location
58 run_test test_fastcgi_deprecated_syntax
59 run_test test_macro_expansion
60 run_test test_proxy_relay_to
61 run_test test_proxy_with_certs
62 # run_test test_unknown_host # XXX: breaks on some distro
63 run_test test_include_mime
64 run_test test_log_file
66 # TODO: add test that uses only a TLSv1.2 or TLSv1.3
67 # TODO: add a test that attempt to serve a non-regular file
68 # TODO: add a test where the index is not a regular file