xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | runtests.pl |
| 5 | </keywords> |
| 6 | </info> |
| 7 | |
| 8 | # |
| 9 | # Client-side |
| 10 | <client> |
| 11 | <server> |
| 12 | none |
| 13 | </server> |
| 14 | <name> |
| 15 | Verify that runtests.pl accepts an -L option |
| 16 | </name> |
| 17 | |
| 18 | <command type="perl"> |
| 19 | %SRCDIR/runtests.pl -L %SRCDIR/log/test1196-library.pl |
| 20 | </command> |
| 21 | # Create a simple perl snippet that lets runtests.pl |
| 22 | # exit with a code we can check. |
| 23 | <precheck> |
| 24 | echo 'exit 123' > %SRCDIR/log/test1196-library.pl |
| 25 | </precheck> |
| 26 | |
| 27 | </client> |
| 28 | |
| 29 | <verify> |
| 30 | <errorcode> |
| 31 | 123 |
| 32 | </errorcode> |
| 33 | </verify> |
| 34 | |
| 35 | </testcase> |