mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
52d4a41b2f
- Use an absolute path for the -L option since the module isn't in the
perl path
- Create the needed test file in a <file> section; <precheck> isn't
intended for this
- Fix the test number in the file name, which was wrong
Follow-up to f754990a
Ref: #10818
Fixes #10889
Closes #10917
35 lines
492 B
Plaintext
35 lines
492 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
runtests.pl
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<name>
|
|
Verify that runtests.pl accepts an -L option
|
|
</name>
|
|
|
|
<command type="perl">
|
|
%SRCDIR/runtests.pl -L %PWD/%LOGDIR/test%TESTNUMBER-library.pl
|
|
</command>
|
|
# Create a simple perl snippet that lets runtests.pl
|
|
# exit with a code we can check.
|
|
<file name="%LOGDIR/test%TESTNUMBER-library.pl">
|
|
exit 123
|
|
</file>
|
|
</client>
|
|
|
|
<verify>
|
|
<errorcode>
|
|
123
|
|
</errorcode>
|
|
</verify>
|
|
|
|
</testcase>
|