]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: use the proper %LOGDIR path on two tests
authorDan Fandrich <dan@coneharvesters.com>
Thu, 30 Mar 2023 22:34:16 +0000 (15:34 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 31 Mar 2023 00:40:24 +0000 (17:40 -0700)
Follow-up to e7a021e1

Ref: #10818

tests/data/test1169
tests/data/test1182

index 512baf54d6319b8ee21b8ade2b8303fabae74fee..ea123c2e30156c044df2b0c8f763c7fbd544048f 100644 (file)
@@ -16,12 +16,12 @@ Verify that runtests.pl accepts an -L option
 </name>
 
 <command type="perl">
-%SRCDIR/runtests.pl -L %SRCDIR/%LOGDIR/test1196-library.pl
+%SRCDIR/runtests.pl -L %LOGDIR/test1196-library.pl
 </command>
 # Create a simple perl snippet that lets runtests.pl
 # exit with a code we can check.
 <precheck>
-echo 'exit 123' > %SRCDIR/%LOGDIR/test1196-library.pl
+echo 'exit 123' > %LOGDIR/test1196-library.pl
 </precheck>
 
 </client>
index 517892601953168c759c16efd7377c310243be0d..d1b8fb07b4d38820605c84b81540a62567b0d9e1 100644 (file)
@@ -16,13 +16,13 @@ Verify that runtests.pl accepts an exclude file with the -E option
 </name>
 
 <command type="perl">
-%SRCDIR/runtests.pl -o TESTDIR=%SRCDIR/%LOGDIR/data -o LOGDIR=%SRCDIR/%LOGDIR/log -E %SRCDIR/%LOGDIR/test%TESTNUMBER-exclude-file 1
+%SRCDIR/runtests.pl -o TESTDIR=%LOGDIR/data -o LOGDIR=%LOGDIR/log -E %LOGDIR/test%TESTNUMBER-exclude-file 1
 </command>
 <precheck>
-mkdir %SRCDIR/%LOGDIR/data ; mkdir %SRCDIR/%LOGDIR/log; cp %SRCDIR/data/test1 %SRCDIR/%LOGDIR/data; echo 'test:1:Test should not run for unit test %TESTNUMBER' > %SRCDIR/%LOGDIR/test%TESTNUMBER-exclude-file
+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
 </precheck>
 <postcheck>
-grep -q "Test should not run for unit test %TESTNUMBER" %SRCDIR/%LOGDIR/stdout%TESTNUMBER
+grep -q "Test should not run for unit test %TESTNUMBER" %LOGDIR/stdout%TESTNUMBER
 </postcheck>
 
 </client>