aboutsummaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-09-20 15:07:26 -0700
committerCarl Worth <cworth@cworth.org>2010-09-20 15:07:26 -0700
commit2b3a219bc981b2facc7c449bdcae7fda735ec0d5 (patch)
tree9cdcbd0d9b7fdb314c2fbba82279d945c8732d01 /test/basic
parent029830c1f130b3780684d056c01a73061090f15f (diff)
test: Fix PATH-checking test to work with --valgrind
The --valgrind option munges the PATH variable, so un-munge it before testing that we have PATH pointing to the source directory.
Diffstat (limited to 'test/basic')
-rwxr-xr-xtest/basic2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basic b/test/basic
index 88704a1..dada282 100755
--- a/test/basic
+++ b/test/basic
@@ -74,6 +74,6 @@ test_expect_success \
test_expect_success \
'PATH is set to this repository' \
- 'test "`echo $PATH|cut -f1 -d:`" = "`dirname ${TEST_DIRECTORY}`"'
+ 'test "`echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,'`" = "`dirname ${TEST_DIRECTORY}`"'
test_done