summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/mghttpd01/mghttpd01.scn
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2012-07-03 10:42:17 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-07-12 09:51:45 +0200
commit0eb5bfba3ca44211aeaac0663ec7477d7c47fa8b (patch)
tree152f2770c4003361a2cbaca0225ae5026e1f2137 /testsuites/libtests/mghttpd01/mghttpd01.scn
parentmghttpd: Clarify comment (diff)
downloadrtems-0eb5bfba3ca44211aeaac0663ec7477d7c47fa8b.tar.bz2
libtests/mghttpd01: New test
Diffstat (limited to 'testsuites/libtests/mghttpd01/mghttpd01.scn')
-rw-r--r--testsuites/libtests/mghttpd01/mghttpd01.scn33
1 files changed, 33 insertions, 0 deletions
diff --git a/testsuites/libtests/mghttpd01/mghttpd01.scn b/testsuites/libtests/mghttpd01/mghttpd01.scn
new file mode 100644
index 0000000000..d3c061f0ae
--- /dev/null
+++ b/testsuites/libtests/mghttpd01/mghttpd01.scn
@@ -0,0 +1,33 @@
+*** TEST MGHTTPD 01 ***
+Loading tarfs image ... successful
+=== Get the index.html from second Mongoose instance:
+HTTP/1.1 200 OK
+Date: Fri, 01 Jan 1988 00:00:01 GMT
+Last-Modified: Fri, 01 Jan 1988 00:00:01 GMT
+Etag: "21dae501.a2"
+Content-Type: text/html
+Content-Length: 162
+Connection: close
+Accept-Ranges: bytes
+
+<html>
+<head>
+<title>Second Instance</title>
+</head>
+
+<body>
+<h1>Second Instance</h1>
+A test page for the Mongoose web server on RTEMS.
+</body>
+</html>
+
+=== OK
+=== Get a page generated from a callback function from first Mongoose instance:
+HTTP/1.1 200 OK
+Content-Type: text/plain
+Content-Length: 47
+
+This is a message from the callback function.
+
+=== OK
+*** END OF TEST MGHTTPD 01 ***