From f754990acfcc005510017344a439aecff93cc500 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 30 Mar 2023 15:34:16 -0700 Subject: [PATCH] tests: use the proper %LOGDIR path on two tests Follow-up to e7a021e1 Ref: #10818 --- tests/data/test1169 | 4 ++-- tests/data/test1182 | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.47.3