X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=tests%2Flib.sh;h=7face08e441416bdac527b843467f32723ff5977;hp=33a3721f751f9268a6f653940c72a5a733d016e7;hb=b950cdb79209e092d20d629bd1b0e9211647bd1e;hpb=9ff0ffbd28416538a4ccc2445875339c7eb20dfe diff --git a/tests/lib.sh b/tests/lib.sh index 33a3721..7face08 100644 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -20,6 +20,7 @@ set -e # Allow running the script directly without running `make check`. test "x$builddir" = x && builddir=. +test "x$abs_builddir" = x && abs_builddir="`pwd`" test "x$EGREP" = x && EGREP='grep -E' # The tests fail if running under coloredstderr because the tests redirect