diff options
author | Carl Worth <cworth@cworth.org> | 2010-09-20 15:07:26 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-09-20 15:07:26 -0700 |
commit | 2b3a219bc981b2facc7c449bdcae7fda735ec0d5 (patch) | |
tree | 9cdcbd0d9b7fdb314c2fbba82279d945c8732d01 /test/basic | |
parent | 029830c1f130b3780684d056c01a73061090f15f (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-x | test/basic | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |