Blob
- Date:
- Message:
- get rid of the CGI support I really want to get rid of the `executor' process hack for CGI scripts and its escalation to allow fastcgi and proxying to work on non-OpenBSD. This drops the CGI support and the `executor' process entirely and is the first step towards gmid 2.0. It also allows to have more secure defaults. On non-OpenBSD systems this means that the sandbox will be deactivated as soon as fastcgi or proxying are used: you can't open sockets under FreeBSD' capsicum(4) and I don't want to go thru the pain of making it work under linux' seccomp/landlock. Patches are always welcome however. For folks using CGI scripts (hey, I'm one of you!) not all hope is lost: fcgiwrap or OpenBSD' slowcgi(8) are ways to run CGI scripts as they were FastCGI applications. fixes for the documentation and to the non-OpenBSD sandboxes will follow.
- Actions:
- History | Blame | Raw File
1 #!/bin/sh3 rm -f gmid.pid5 . ./lib.sh6 . ./tests.sh8 trap 'onexit' INT TERM EXIT10 if [ $# -ne 0 ]; then11 while [ $# -ne 0 ]; do12 run_test $113 shift14 done16 tests_done17 fi19 # Run standalone unit tests.20 run_test test_punycode21 run_test test_iri23 if [ "${SKIP_RUNTIME_TESTS:-0}" -eq 1 ]; then24 echo25 echo "======================"26 echo "runtime tests skipped!"27 echo "======================"28 echo30 tests_done31 fi33 # Run regression tests for the gmid binary.34 run_test test_configless_mode35 run_test test_static_files36 run_test test_directory_redirect37 run_test test_serve_big_files38 run_test test_dont_execute_scripts39 run_test test_custom_mime40 run_test test_default_type41 run_test test_custom_lang42 run_test test_parse_custom_lang_per_location43 run_test test_custom_index44 run_test test_custom_index_default_type_per_location45 run_test test_auto_index46 run_test test_block47 run_test test_block_return_fmt48 run_test test_require_client_ca49 run_test test_root_inside_location50 run_test test_root_inside_location_with_redirect51 # run_test test_fastcgi XXX: needs to be fixed52 run_test test_macro_expansion53 run_test test_proxy_relay_to54 run_test test_proxy_with_certs55 run_test test_unknown_host56 run_test test_include_mime58 tests_done