Alexandre Julliard : winetest: Group all test scripts in a separate directory.

Alexandre Julliard julliard at winehq.org
Mon Mar 14 13:40:28 CDT 2011


Module: tools
Branch: master
Commit: 0a46a5d8504726dde07a3d773d4f7b3cccd69a49
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=0a46a5d8504726dde07a3d773d4f7b3cccd69a49

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar 14 16:25:24 2011 +0100

winetest: Group all test scripts in a separate directory.

---

 winetest/tests/.htaccess  |    8 ++++++++
 winetest/tests/chunked    |   17 +++++++++++++++++
 winetest/tests/hello.html |    4 ++++
 3 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/winetest/tests/.htaccess b/winetest/tests/.htaccess
new file mode 100644
index 0000000..b3a256c
--- /dev/null
+++ b/winetest/tests/.htaccess
@@ -0,0 +1,8 @@
+Order Allow,Deny
+Allow From All
+
+<Files chunked>
+  Allow from All
+  Options ExecCGI
+  SetHandler cgi-script
+</Files>
diff --git a/winetest/tests/chunked b/winetest/tests/chunked
new file mode 100755
index 0000000..713b172
--- /dev/null
+++ b/winetest/tests/chunked
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+#
+# Generate some data to test chunked transfers
+#
+
+use CGI qw(:standard);
+
+$| = 1;
+
+print "Content-type: text/plain\n\n";
+
+for (my $i = 0; $i < 10; $i++)
+{
+    print "Line $i\n";
+    select(undef, undef, undef, 0.1);
+}
+print "Done\n";
diff --git a/winetest/tests/hello.html b/winetest/tests/hello.html
new file mode 100644
index 0000000..bed858b
--- /dev/null
+++ b/winetest/tests/hello.html
@@ -0,0 +1,4 @@
+<html><body>
+<h1>Hello world!</h1>
+This is a test page for the Wine regression test suite.
+</body></html>




More information about the wine-cvs mailing list