aboutsummaryrefslogtreecommitdiff
path: root/test/atomicity
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2011-09-25 09:12:48 -0300
committerDavid Bremner <bremner@debian.org>2011-09-25 09:12:48 -0300
commit2697f623ae1534b669e182934ade124bd9cfd7ad (patch)
treec00817f007297fe03aca7a242fa9d108feff56d4 /test/atomicity
parentdd7cb35c8205ae0486404d7377ea9c64beeb5375 (diff)
test/atomicity: redirect output from "which"
Without redirection, this produced some slightly confusing output in case gdb was present.
Diffstat (limited to 'test/atomicity')
-rwxr-xr-xtest/atomicity2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/atomicity b/test/atomicity
index f9dbc9a..3464238 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