8 trap 'onexit' INT TERM EXIT
11 while [ $# -ne 0 ]; do
19 # Run standalone unit tests.
20 run_test test_punycode
23 if [ "${SKIP_RUNTIME_TESTS:-0}" -eq 1 ]; then
25 echo "======================"
26 echo "runtime tests skipped!"
27 echo "======================"
33 # Run regression tests for the ge binary.
36 # Run regression tests for the gmid binary.
37 run_test test_static_files
38 run_test test_directory_redirect
39 run_test test_serve_big_files
40 run_test test_dont_execute_scripts
41 run_test test_custom_mime
42 run_test test_default_type
43 run_test test_custom_lang
44 run_test test_parse_custom_lang_per_location
45 run_test test_custom_index
46 run_test test_custom_index_default_type_per_location
47 run_test test_auto_index
49 run_test test_block_return_fmt
50 run_test test_require_client_ca
51 run_test test_root_inside_location
52 run_test test_root_inside_location_with_redirect
54 run_test test_macro_expansion
55 run_test test_proxy_relay_to
56 run_test test_proxy_with_certs
57 # run_test test_unknown_host # XXX: breaks on some distro
58 run_test test_include_mime
60 # TODO: add test that uses only a TLSv1.2 or TLSv1.3