The test directory!
This commit is contained in:
parent
cf4d923d70
commit
307603b24d
11 changed files with 6051 additions and 0 deletions
6
test/cgi/cat
Executable file
6
test/cgi/cat
Executable 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
5
test/cgi/cat-index-html
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
cat ../index.html
|
5
test/cgi/env
Executable file
5
test/cgi/env
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
env
|
4
test/cgi/query-string
Executable file
4
test/cgi/query-string
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
echo $QUERY_STRING
|
3
test/cgi/redirect-loop
Executable file
3
test/cgi/redirect-loop
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
echo Location: http://$HTTP_HOST$REQUEST_URI
|
||||
echo
|
4
test/cgi/request-uri
Executable file
4
test/cgi/request-uri
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
echo $REQUEST_URI
|
Loading…
Add table
Add a link
Reference in a new issue