From: Dan Fandrich Date: Thu, 30 Mar 2023 22:34:16 +0000 (-0700) Subject: tests: use the proper %LOGDIR path on two tests X-Git-Tag: curl-8_1_0~237 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f754990a;p=thirdparty%2Fcurl.git tests: use the proper %LOGDIR path on two tests Follow-up to e7a021e1 Ref: #10818 --- diff --git a/tests/data/test1169 b/tests/data/test1169 index 512baf54d6..ea123c2e30 100644 --- a/tests/data/test1169 +++ b/tests/data/test1169 @@ -16,12 +16,12 @@ Verify that runtests.pl accepts an -L option -%SRCDIR/runtests.pl -L %SRCDIR/%LOGDIR/test1196-library.pl +%SRCDIR/runtests.pl -L %LOGDIR/test1196-library.pl # Create a simple perl snippet that lets runtests.pl # exit with a code we can check. -echo 'exit 123' > %SRCDIR/%LOGDIR/test1196-library.pl +echo 'exit 123' > %LOGDIR/test1196-library.pl diff --git a/tests/data/test1182 b/tests/data/test1182 index 5178926019..d1b8fb07b4 100644 --- a/tests/data/test1182 +++ b/tests/data/test1182 @@ -16,13 +16,13 @@ Verify that runtests.pl accepts an exclude file with the -E option -%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 -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 -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