diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-03-17 23:37:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-03-18 13:58:46 +0100 |
commit | dc5edf912495b521bcd223ce7f54f8da6b7e0c14 (patch) | |
tree | 42fe15ff8b945e2fddf3b0538d55fa8782be7bd9 /tests/data | |
parent | 520f0b47ad8463979e0ce0b5d08b461fa0bc74b8 (diff) |
test1541: threaded connection sharing
The threaded-shared-conn.c example turned into test case. Only works if
pthread was detected.
An attempt to detect future regressions such as e3a53e3efb942a5
Closes #3687
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.inc | 2 | ||||
-rw-r--r-- | tests/data/test1541 | 32 |
2 files changed, 33 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 359b2deb2..2eca9c670 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -174,7 +174,7 @@ test1516 test1517 test1518 test1519 test1520 test1521 test1522 \ \ test1525 test1526 test1527 test1528 test1529 test1530 test1531 test1532 \ test1533 test1534 test1535 test1536 test1537 test1538 \ -test1540 \ +test1540 test1541 \ test1550 test1551 test1552 test1553 test1554 test1555 test1556 test1557 \ test1558 test1560 test1561 test1562 \ \ diff --git a/tests/data/test1541 b/tests/data/test1541 new file mode 100644 index 000000000..28b91c75e --- /dev/null +++ b/tests/data/test1541 @@ -0,0 +1,32 @@ +<testcase> +<info> +<keywords> +HTTP +HTTP GET +multi-threaded +connection-sharing +</keywords> +</info> + +# Server-side +</reply> +# Client-side +<client> +<server> +http +</server> +<tool> +lib1541 +</tool> + <name> +connection sharing using 67 parallel threads for 7 seconds + </name> + <command> +http://%HOSTIP:%HTTPPORT/1 +</command> +</client> + +# Verify data after the test has been "shot" +<verify> +</verify> +</testcase> |