quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test1491 (587B)


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