summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/mghttpd01/mghttpd01.scn
diff options
context:
space:
mode:
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 ***