xref: /curl/tests/data/test1491 (revision 8e9a8dd9)
1<testcase>
2<info>
3<keywords>
4FILE
5</keywords>
6</info>
7
8<reply>
9</reply>
10
11# Client-side
12<client>
13<server>
14file
15</server>
16<name>
17file:// don't overwrite self with --skip-existing
18</name>
19<command option="no-output">
20file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt -o %LOGDIR/test%TESTNUMBER.txt --skip-existing
21</command>
22<file name="%LOGDIR/test%TESTNUMBER.txt">
23foo
24   bar
25bar
26   foo
27moo
28</file>
29</client>
30
31# Verify data after the test has been "shot"
32<verify>
33<stderr mode="text">
34Note: skips transfer, "%LOGDIR/test%TESTNUMBER.txt" exists locally
35</stderr>
36</verify>
37</testcase>
38