The threee tags `<name>`, `</name>` and `<command>` were frequently used with a leading space that this removes. The reason this habbit is so widespread in testcases is probably that they have been copy and pasted. Hence, fixing them all now might curb this practice from now on. Closes #12028
41 lines
616 B
Plaintext
41 lines
616 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
IPFS
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<setenv>
|
|
#
|
|
# Set a home that doesn't have a ".ipfs" folder. %PWD should be good.
|
|
# This is to prevent the automatic gateway detection from finding a gateway file in your home folder.
|
|
HOME=%PWD
|
|
</setenv>
|
|
<name>
|
|
IPFS with no gateway URL (no environment or home file either)
|
|
</name>
|
|
<command>
|
|
ipfs://QmV5JejrpgUxnkZeFZYMxVCqAbKy3KdPXWXyuEDiMNZwUx
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify with no gateway url and no auto detection
|
|
<verify>
|
|
<errorcode>
|
|
37
|
|
</errorcode>
|
|
</verify>
|
|
</testcase>
|