quickjs-tart

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

test1445 (642B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FILE
      5 --remote-time
      6 </keywords>
      7 </info>
      8 
      9 <reply>
     10 </reply>
     11 
     12 # Client-side
     13 <client>
     14 <server>
     15 file
     16 </server>
     17 <precheck>
     18 %PERL %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
     19 </precheck>
     20 <name>
     21 file:// with --remote-time
     22 </name>
     23 <command>
     24 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt --remote-time
     25 </command>
     26 </client>
     27 
     28 # Verify data after the test has been "shot"
     29 <verify>
     30 <postcheck>
     31 %PERL %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir && \
     32 %PERL -e 'exit((stat("%LOGDIR/curl%TESTNUMBER.out"))[9] != 946728000)'
     33 </postcheck>
     34 </verify>
     35 </testcase>