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_configless_mode
29 run_test test_static_files
30 run_test test_directory_redirect
31 run_test test_serve_big_files
32 run_test test_dont_execute_scripts
33 run_test test_custom_mime
34 run_test test_default_type
35 run_test test_custom_lang
36 run_test test_parse_custom_lang_per_location
37 run_test test_cgi_scripts
38 run_test test_cgi_big_replies
39 run_test test_cgi_split_query
40 run_test test_custom_index
41 run_test test_custom_index_default_type_per_location
42 run_test test_auto_index
43 run_test test_block
44 run_test test_block_return_fmt
45 run_test test_entrypoint
46 run_test test_require_client_ca
47 run_test test_root_inside_location
48 run_test test_root_inside_location_with_redirect
49 run_test test_fastcgi
50 run_test test_macro_expansion
51 run_test test_174_bugfix
53 tests_done