projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
029830c
)
test: Fix PATH-checking test to work with --valgrind
author
Carl Worth
<cworth@cworth.org>
Mon, 20 Sep 2010 22:07:26 +0000
(15:07 -0700)
committer
Carl Worth
<cworth@cworth.org>
Mon, 20 Sep 2010 22:07:26 +0000
(15:07 -0700)
The --valgrind option munges the PATH variable, so un-munge it before
testing that we have PATH pointing to the source directory.
test/basic
patch
|
blob
|
history
diff --git
a/test/basic
b/test/basic
index 88704a17c6e930f04757d49f7bb08b894314fef8..dada2824bc40b2a7027c9a9502230c50d4606e4d 100755
(executable)
--- 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