mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
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.
This commit is contained in:
parent
029830c1f1
commit
2b3a219bc9
1 changed files with 1 additions and 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
|
||||
|
|
Loading…
Reference in a new issue