1.1 --- a/test/nocomments.sh Fri Jun 03 20:06:08 2022 +0200 1.2 +++ b/test/nocomments.sh Fri Sep 22 23:26:23 2023 +0200 1.3 @@ -29,16 +29,13 @@ 1.4 1.5 echo -n "Verifying correctness of line count without comments: " 1.6 1.7 -clineprg="$(pwd)/../src/cline" 1.8 - 1.9 -cd $srcdir 1.10 -count=`$clineprg -Vs testfile.c --exclude-cstyle-comments` 1.11 +count=`../build/cline -Vs testfile.c --exclude-cstyle-comments` 1.12 expected=12 1.13 1.14 if [ "$count" -eq "$expected" ]; then 1.15 echo "OK." 1.16 - exit 0; 1.17 + exit 0 1.18 else 1.19 echo "FAIL! $count is not $expected" 1.20 - exit 1; 1.21 + exit 1 1.22 fi