Added test case 1013 to check that curl-config --protocols matches the

protocols listed in curl --version
This commit is contained in:
Dan Fandrich 2007-11-01 00:36:55 +00:00
parent 823a0454a6
commit 16897354bc
5 changed files with 77 additions and 2 deletions

View file

@ -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
test544 test545 test2004 test546 test1013
filecheck:
@mkdir test-place; \

31
tests/data/test1013 Normal file
View file

@ -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/stdout1013
</postcheck>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>