Blob


1 #!/bin/sh
3 if [ "${SKIP_RUNTIME_TESTS:-0}" -eq 1 ]; then
4 echo
5 echo "======================"
6 echo "runtime tests skipped!"
7 echo "======================"
8 echo
9 exit 0
10 fi
12 rm -f gmid.pid
14 . ./lib.sh
15 . ./tests.sh
17 trap 'onexit' INT TERM EXIT
19 if [ $# -ne 0 ]; then
20 while [ $# -ne 0 ]; do
21 run_test $1
22 shift
23 done
25 tests_done
26 fi
28 run_test test_punycode
29 run_test test_iri
30 run_test test_configless_mode
31 run_test test_static_files
32 run_test test_directory_redirect
33 run_test test_serve_big_files
34 run_test test_dont_execute_scripts
35 run_test test_custom_mime
36 run_test test_default_type
37 run_test test_custom_lang
38 run_test test_parse_custom_lang_per_location
39 run_test test_cgi_scripts
40 run_test test_cgi_big_replies
41 run_test test_cgi_split_query
42 run_test test_custom_index
43 run_test test_custom_index_default_type_per_location
44 run_test test_auto_index
45 run_test test_block
46 run_test test_block_return_fmt
47 run_test test_entrypoint
48 run_test test_require_client_ca
49 run_test test_root_inside_location
50 run_test test_root_inside_location_with_redirect
51 run_test test_fastcgi
52 run_test test_macro_expansion
53 run_test test_174_bugfix
54 run_test test_proxy_relay_to
55 run_test test_proxy_with_certs
56 run_test test_unknown_host
58 tests_done