test1850: verify the SMB request path use for two transfers

This commit is contained in:
Daniel Stenberg 2026-03-08 14:53:43 +01:00
parent e090be9f73
commit 1f8cfa049d
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 40 additions and 1 deletions

View file

@ -231,7 +231,7 @@ test1680 test1681 test1682 test1683 \
test1700 test1701 test1702 test1703 test1704 test1705 test1706 test1707 \
test1708 test1709 test1710 test1711 test1712 \
\
test1800 test1801 test1802 test1847 test1848 test1849 \
test1800 test1801 test1802 test1847 test1848 test1849 test1850 \
\
test1900 test1901 test1902 test1903 test1904 test1905 test1906 test1907 \
test1908 test1909 test1910 test1911 test1912 test1913 test1914 test1915 \

39
tests/data/test1850 Normal file
View file

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
SMB
</keywords>
</info>
# Server-side
<reply>
<data nocheck="yes">
Basic SMB test complete
</data>
</reply>
# Client-side
<client>
<server>
smb
</server>
<features>
smb
</features>
<name>
Two SMB requests in the same command line
</name>
<command>
-u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/%TESTNUMBER smb://%HOSTIP:%SMBPORT/TESTS/%TESTNUMBER
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<stdout>
Basic SMB test complete
Basic SMB test complete
</stdout>
</verify>
</testcase>