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 run_test test_configless_mode
20 run_test test_static_files
21 run_test test_directory_redirect
22 run_test test_serve_big_files
23 run_test test_dont_execute_scripts
24 run_test test_custom_mime
25 run_test test_default_type
26 run_test test_custom_lang
27 run_test test_parse_custom_lang_per_location
28 run_test test_cgi_scripts
29 run_test test_cgi_big_replies
30 run_test test_cgi_split_query
31 run_test test_custom_index
32 run_test test_custom_index_default_type_per_location
33 run_test test_auto_index
34 run_test test_block
35 run_test test_block_return_fmt
36 run_test test_entrypoint
37 run_test test_require_client_ca
38 run_test test_root_inside_location
39 run_test test_root_inside_location_with_redirect
40 run_test test_fastcgi
41 run_test test_macro_expansion
42 run_test test_174_bugfix
44 if [ "$failed" != "" ]; then
45 echo
46 echo "failed tests:$failed"
47 exit 1
48 fi