Skip to content

Commit

Permalink
test: avoid double $srcdir references in RunGrepTest (#169)
Browse files Browse the repository at this point in the history
breaking out of tree runs
  • Loading branch information
carenas authored Dec 5, 2022
1 parent 8d99540 commit 106faa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RunGrepTest
Original file line number Diff line number Diff line change
Expand Up @@ -753,11 +753,11 @@ $valgrind $vjs $pcre2grep --no-jit --heap-limit=0 b testtemp1grep >>testtrygrep
echo "RC=$?" >>testtrygrep

echo "---------------------------- Test 139 -----------------------------" >>testtrygrep
(cd $srcdir; $valgrind $vjs $pcre2grep --line-buffered 'fox' $srcdir/testdata/grepinputv) >>testtrygrep
(cd $srcdir; $valgrind $vjs $pcre2grep --line-buffered 'fox' testdata/grepinputv) >>testtrygrep
echo "RC=$?" >>testtrygrep

echo "---------------------------- Test 140 -----------------------------" >>testtrygrep
(cd $srcdir; $valgrind $vjs $pcre2grep --buffer-size=10 -A1 'brown' $srcdir/testdata/grepinputv) >>testtrygrep
(cd $srcdir; $valgrind $vjs $pcre2grep --buffer-size=10 -A1 'brown' testdata/grepinputv) >>testtrygrep
echo "RC=$?" >>testtrygrep

echo "---------------------------- Test 141 -----------------------------" >>testtrygrep
Expand Down

0 comments on commit 106faa2

Please sign in to comment.