From: Dan Fandrich Date: Mon, 10 Apr 2023 18:05:55 +0000 (-0700) Subject: test1169: fix so it works properly everywhere X-Git-Tag: curl-8_1_0~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10917%2Fhead;p=thirdparty%2Fcurl.git test1169: fix so it works properly everywhere - Use an absolute path for the -L option since the module isn't in the perl path - Create the needed test file in a section; 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 --- diff --git a/tests/data/test1169 b/tests/data/test1169 index ea123c2e30..bba5d131e5 100644 --- a/tests/data/test1169 +++ b/tests/data/test1169 @@ -16,14 +16,13 @@ Verify that runtests.pl accepts an -L option -%SRCDIR/runtests.pl -L %LOGDIR/test1196-library.pl +%SRCDIR/runtests.pl -L %PWD/%LOGDIR/test%TESTNUMBER-library.pl # Create a simple perl snippet that lets runtests.pl # exit with a code we can check. - -echo 'exit 123' > %LOGDIR/test1196-library.pl - - + +exit 123 +