add explicit parent child wsi relationships
[platform/upstream/libwebsockets.git] / test-server / lws-cgi-test.sh
1 #!/bin/sh
2
3 echo "lwstest script stdout"
4 >&2 echo "lwstest script stderr"
5
6 echo "REQUEST_METHOD=$REQUEST_METHOD"
7
8 if [ "$REQUEST_METHOD" = "POST" ] ; then
9         read line
10         echo "read=\"$line\""
11 else
12         cat /proc/meminfo
13 fi
14
15 echo "done"
16
17 exit 0
18