X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=3147b78280a585cd1a2efbbaca2451a7ef2fa95f;hp=d46bb4c34a9165599542b2eff981e5d224f63d67;hb=645bea13cb204108fd520010afbba25d0d6a8693;hpb=5f49e3421f5d1f98951b55dd5ba106c2a106aba7 diff --git a/test/test-lib.sh b/test/test-lib.sh index d46bb4c3..3147b782 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -710,7 +710,7 @@ notmuch_built_with_sanitize () sed 's/^built_with[.]\(.*\)=.*$/built_with.\1=something/' } -notmuch_passwd_sanitize() +notmuch_passwd_sanitize () { ${NOTMUCH_PYTHON} -c' import os, sys, pwd, socket @@ -992,7 +992,7 @@ test_must_fail () { # - cmp's output is not nearly as easy to read as diff -u # - not all diff versions understand "-u" -test_cmp() { +test_cmp () { $GIT_TEST_CMP "$@" } @@ -1117,7 +1117,7 @@ test_emacs () { ${TEST_EMACSCLIENT} --socket-name="$EMACS_SERVER" --eval "(notmuch-test-progn $*)" } -test_python() { +test_python () { # Note: if there is need to print debug information from python program, # use stdout = os.fdopen(6, 'w') or stderr = os.fdopen(7, 'w') PYTHONPATH="$NOTMUCH_SRCDIR/bindings/python${PYTHONPATH:+:$PYTHONPATH}" \