From ef94c972bc3ba71d9611d7f0acc02ff4cf8068b2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 31 May 2022 13:24:02 +0200 Subject: [PATCH] test681: verify --no-remote-name Follow-up to 83ee5c428d960 (from #8931) Closes #8942 --- tests/data/Makefile.inc | 2 +- tests/data/test681 | 51 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 tests/data/test681 diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 0d77dc826c..1a4d4eeeff 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -95,7 +95,7 @@ test643 test645 test646 test647 test648 test649 test650 test651 \ test652 test653 test654 test655 test656 test658 test659 test660 test661 \ test662 test663 test664 test665 test666 test667 test668 test669 \ test670 test671 test672 test673 test674 test675 test676 test677 test678 \ -test679 test680 \ +test679 test680 test681 \ \ test700 test701 test702 test703 test704 test705 test706 test707 test708 \ test709 test710 test711 test712 test713 test714 test715 test716 test717 \ diff --git a/tests/data/test681 b/tests/data/test681 new file mode 100644 index 0000000000..d98393ddbf --- /dev/null +++ b/tests/data/test681 @@ -0,0 +1,51 @@ + + + +HTTP +HTTP GET + + + +# +# Server-side + + +HTTP/1.1 200 OK +Date: Tue, 09 Nov 2010 14:49:00 GMT +Content-Length: 6 +Connection: close +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +http + + +--remote-name-all with --no-remote-name + + +--remote-name-all --no-remote-name --output-dir log http://%HOSTIP:%HTTPPORT/%TESTNUMBER + + + +# +# Verify data after the test has been "shot" + + +GET /%TESTNUMBER HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* + + + +-foo- + + + -- 2.47.3