]> git.notmuchmail.org Git - notmuch/blobdiff - test/atomicity
test: Add a test script for "notmuch tag"
[notmuch] / test / atomicity
index f9dbc9a61413e30c72848849404421e7bc6be2ca..ad7d4a3c59e7d5ace823c46ce95e774609d4773d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 test_description='atomicity'
 . ./test-lib.sh
 
@@ -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