The test directory!

This commit is contained in:
Diego Nehab 2003-03-21 23:49:18 +00:00
parent cf4d923d70
commit 307603b24d
11 changed files with 6051 additions and 0 deletions

6
test/cgi/cat Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
echo Content-type: text/plain
echo
cat > /tmp/luasocket.cat.tmp
cat /tmp/luasocket.cat.tmp

5
test/cgi/cat-index-html Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
echo Content-type: text/plain
echo
cat ../index.html

5
test/cgi/env Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
echo Content-type: text/plain
echo
env

4
test/cgi/query-string Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
echo Content-type: text/plain
echo
echo $QUERY_STRING

3
test/cgi/redirect-loop Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
echo Location: http://$HTTP_HOST$REQUEST_URI
echo

4
test/cgi/request-uri Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
echo Content-type: text/plain
echo
echo $REQUEST_URI