test1182 711 B

123456789101112131415161718192021222324252627282930313233343536
  1. <testcase>
  2. <info>
  3. <keywords>
  4. runtests.pl
  5. </keywords>
  6. </info>
  7. #
  8. # Client-side
  9. <client>
  10. <server>
  11. none
  12. </server>
  13. <name>
  14. Verify that runtests.pl accepts an exclude file with the -E option
  15. </name>
  16. <command type="perl">
  17. %SRCDIR/runtests.pl -o TESTDIR=%LOGDIR/data -o LOGDIR=%LOGDIR/log -E %LOGDIR/test%TESTNUMBER-exclude-file 1
  18. </command>
  19. <precheck>
  20. mkdir %LOGDIR/data ; mkdir %LOGDIR/log; cp %SRCDIR/data/test1 %LOGDIR/data; echo 'test:1:Test should not run for unit test %TESTNUMBER' > %LOGDIR/test%TESTNUMBER-exclude-file
  21. </precheck>
  22. <postcheck>
  23. grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER
  24. </postcheck>
  25. </client>
  26. <verify>
  27. <errorcode>
  28. 1
  29. </errorcode>
  30. </verify>
  31. </testcase>