From: David Bremner Date: Sun, 25 Sep 2011 12:12:48 +0000 (-0300) Subject: test/atomicity: redirect output from "which" X-Git-Tag: 0.9_rc1~2 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=2697f623ae1534b669e182934ade124bd9cfd7ad;p=notmuch test/atomicity: redirect output from "which" Without redirection, this produced some slightly confusing output in case gdb was present. --- diff --git a/test/atomicity b/test/atomicity index f9dbc9a6..34642388 100755 --- a/test/atomicity +++ b/test/atomicity @@ -7,7 +7,7 @@ test_description='atomicity' # final database contents should be the same regardless of when (or # if) it is killed and restarted. -if which gdb; then +if which gdb 1>/dev/null 2>&1; then test_set_prereq GDB # Create a maildir structure to also stress flag synchronization