aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-11-01 03:09:27 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-11-01 03:09:27 +0000
commit6f33531861c02602446c7d2d30e0aaff271557f4 (patch)
tree1521f0da3c07f2fe7d2906af2c488dec7c3a41e1 /tests/data
parent16897354bcbb2afbc81d0d985a940dbe37cac986 (diff)
Added test case 1014 to compare curl-config --features with curl --version
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test10134
-rw-r--r--tests/data/test101431
3 files changed, 34 insertions, 3 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 2dbb9ce24..ee0a05624 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -46,7 +46,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test231 test1000 test1001 test1002 test1003 test1004 test1005 test1006 \
test615 test1007 test541 test1010 test1011 test1012 test542 test543 \
test536 test1008 test1009 test2000 test2001 test2002 test2003 test35 \
- test544 test545 test2004 test546 test1013
+ test544 test545 test2004 test546 test1013 test1014
filecheck:
@mkdir test-place; \
diff --git a/tests/data/test1013 b/tests/data/test1013
index 32b4bfefa..40996a17c 100644
--- a/tests/data/test1013
+++ b/tests/data/test1013
@@ -11,13 +11,13 @@
none
</server>
<name>
-Compare curl --version with curl-config --features
+Compare curl --version with curl-config --protocols
</name>
<command>
--version
</command>
<postcheck>
-%SRCDIR/libtest/test1013.pl ../curl-config log/stdout1013
+%SRCDIR/libtest/test1013.pl ../curl-config log/stdout1013 protocols
</postcheck>
</client>
diff --git a/tests/data/test1014 b/tests/data/test1014
new file mode 100644
index 000000000..fa61c70a3
--- /dev/null
+++ b/tests/data/test1014
@@ -0,0 +1,31 @@
+<testcase>
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+ <name>
+Compare curl --version with curl-config --features
+ </name>
+ <command>
+--version
+</command>
+<postcheck>
+%SRCDIR/libtest/test1013.pl ../curl-config log/stdout1014 features
+</postcheck>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+2
+</errorcode>
+</verify>
+</testcase>