X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT380-atomicity.sh;h=0f9e6d2e2bc4169127304d75669adabf2f557e2f;hb=HEAD;hp=45de22284cb83af03294390bb4d2c52aab20810f;hpb=f7130468d27c4f37d45e6aa60baacfc3329ccff4;p=notmuch diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh index 45de2228..0f9e6d2e 100755 --- a/test/T380-atomicity.sh +++ b/test/T380-atomicity.sh @@ -67,12 +67,12 @@ if test_require_external_prereq gdb; then ${TEST_GDB} -tty /dev/null -batch -x $NOTMUCH_SRCDIR/test/atomicity.py notmuch 1>gdb.out 2>&1 # Get the final, golden output - notmuch search '*' > expected + notmuch search '*' 2>/dev/null > expected # Check output against golden output outcount=$(cat outcount) - echo -n > searchall - echo -n > expectall + : > searchall + : > expectall for ((i = 0; i < $outcount; i++)); do if ! cmp -s search.$i expected; then # Find the range of interruptions that match this output