]> git.notmuchmail.org Git - notmuch/blobdiff - test/basic
test: save buffer content to file instead of printing it in Emacs tests
[notmuch] / test / basic
index 3b43ad9cda4e5c1c447f4547c05f5562432628f3..d6e8c100d083b91b6719930344e2c6c7547c3051 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Copyright (c) 2005 Junio C Hamano
 #
@@ -55,9 +55,12 @@ eval $(sed -n -e '/^TESTS="$/,/^"$/p' notmuch-test ../notmuch-test)
 tests_in_suite=$(for i in $TESTS; do echo $i; done | sort)
 available=$(ls -1 ../ | \
     sed -r -e "/^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test)/d" \
-          -e "/^(README|test-lib.sh|test-results|tmp.*|valgrind|corpus*)/d" \
-          -e "/^(emacs.expected-output|smtp-dummy|smtp-dummy.c|test-verbose)/d" \
-          -e "/^(test.expected-output|.*~)/d" | sort)
+          -e "/^(README|test-lib.sh|test-lib.el|test-results|tmp.*|valgrind|corpus*)/d" \
+          -e "/^(emacs.expected-output|smtp-dummy|smtp-dummy.c|test-verbose|symbol-test.cc)/d" \
+          -e "/^(test.expected-output|.*~)/d" \
+          -e "/^(gnupg-secret-key.asc)/d" \
+          -e "/^(gnupg-secret-key.NOTE)/d" \
+          | sort)
 test_expect_equal "$tests_in_suite" "$available"
 
 EXPECTED=../test.expected-output