Artifact 67f3da3bf923349b1e41b7fafe7fba6e5d6aaa9d190dff8e90b88123cda14fd8:
- Executable file default.website/test02 — part of check-in [820bdf0f00] at 2017-12-13 12:32:14 on branch trunk — Add the CGI test script and fix auto-detection of CGI. (user: drh size: 528)
- File tests/test02 — part of check-in [7c173f40cb] at 2018-02-01 22:07:51 on branch trunk — Move test files into the tests/ folder. Add the encode-binary-file.tcl utility script. Add an image to tests/test01.tcl. Move the "-translation binary" out of wappInt-handle-request and into wappInt-handle-cgi-request. (user: drh size: 528)
#!/usr/bin/tclsh # # This script is for testing wapp in CGI mode using the althttpd web-server. # This script is contained inside the "default.website" subdirectory. Let # $ROOT be the name of the root of this source archive - the directory that # contains "default.website". Then to start up althttpd for this test # run: # # althttpd -root $ROOT -port 8080 # # This visit http://localhost:8080/test02 in your web browser # set ROOT [file dir [file dir [file normalize $env(SCRIPT_FILENAME)]]] cd $ROOT source test01.tcl