diff options
Diffstat (limited to 'community/notmuch/fix-tests.patch')
-rw-r--r-- | community/notmuch/fix-tests.patch | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/community/notmuch/fix-tests.patch b/community/notmuch/fix-tests.patch index a7b116ea27..92c2b854e4 100644 --- a/community/notmuch/fix-tests.patch +++ b/community/notmuch/fix-tests.patch @@ -1,9 +1,9 @@ -diff -upr notmuch-0.24.1.orig/test/T030-config.sh notmuch-0.24.1/test/T030-config.sh ---- notmuch-0.24.1.orig/test/T030-config.sh 2017-08-17 19:19:19.245017863 +0200 -+++ notmuch-0.24.1/test/T030-config.sh 2017-08-17 19:19:35.725123923 +0200 -@@ -45,8 +45,8 @@ test_expect_equal "$(notmuch config get - test_begin_subtest "List all items" - notmuch config list 2>&1 | notmuch_config_sanitize > OUTPUT +diff -ur a/test/T030-config.sh b/test/T030-config.sh +--- a/test/T030-config.sh 2018-08-06 15:39:37.400772382 +0200 ++++ b/test/T030-config.sh 2018-08-06 15:39:45.434276833 +0200 +@@ -51,8 +51,8 @@ + fi + cat <<EOF > EXPECTED -Error opening database at MAIL_DIR/.notmuch: No such file or directory database.path=MAIL_DIR @@ -11,10 +11,11 @@ diff -upr notmuch-0.24.1.orig/test/T030-config.sh notmuch-0.24.1/test/T030-confi user.name=Notmuch Test Suite user.primary_email=test_suite@notmuchmail.org user.other_email=test_suite_other@notmuchmail.org;test_suite@otherdomain.org -diff -upr notmuch-0.24.1.orig/test/T650-regexp-query.sh notmuch-0.24.1/test/T650-regexp-query.sh ---- notmuch-0.24.1.orig/test/T650-regexp-query.sh 2017-08-17 20:27:35.577369368 +0200 -+++ notmuch-0.24.1/test/T650-regexp-query.sh 2017-08-17 20:28:06.570896484 +0200 -@@ -99,7 +99,7 @@ test_begin_subtest "regexp error reporti +Only in b/test: T030-config.sh.orig +diff -ur a/test/T650-regexp-query.sh b/test/T650-regexp-query.sh +--- a/test/T650-regexp-query.sh 2018-08-06 15:39:37.404105787 +0200 ++++ b/test/T650-regexp-query.sh 2018-08-06 15:39:45.434276833 +0200 +@@ -140,7 +140,7 @@ notmuch search 'from:/unbalanced[/' 1>OUTPUT 2>&1 cat <<EOF > EXPECTED notmuch search: A Xapian exception occurred @@ -23,15 +24,4 @@ diff -upr notmuch-0.24.1.orig/test/T650-regexp-query.sh notmuch-0.24.1/test/T650 Query string was: from:/unbalanced[/ EOF test_expect_equal_file EXPECTED OUTPUT -diff -upr notmuch-0.24.1.orig/test/T170-sexp.sh notmuch-0.24.1/test/T170-sexp.sh ---- notmuch-0.24.1.orig/test/T170-sexp.sh 2017-08-18 17:53:42.269379123 +0200 -+++ notmuch-0.24.1/test/T170-sexp.sh 2017-08-18 17:53:50.709391763 +0200 -@@ -44,7 +44,7 @@ test_expect_equal "$output" "((((:id \"$ - test_begin_subtest "Search message: sexp, utf-8" - add_message "[subject]=\"sexp-search-utf8-body-sübjéct\"" "[date]=\"Sat, 01 Jan 2000 12:00:00 -0000\"" "[body]=\"jsön-search-méssage\"" - output=$(notmuch search --format=sexp "jsön-search-méssage" | notmuch_search_sanitize) --test_expect_equal "$output" "((:thread \"0000000000000005\" :timestamp 946728000 :date_relative \"2000-01-01\" :matched 1 :total 1 :authors \"Notmuch Test Suite\" :subject \"sexp-search-utf8-body-sübjéct\" :query (\"id:$gen_msg_id\" nil) :tags (\"inbox\" \"unread\")))" -+test_expect_equal "$output" "((:thread \"0000000000000004\" :timestamp 946728000 :date_relative \"2000-01-01\" :matched 1 :total 1 :authors \"Notmuch Test Suite\" :subject \"sexp-search-utf8-body-sübjéct\" :query (\"id:$gen_msg_id\" nil) :tags (\"inbox\" \"unread\")))" - - - test_done +Only in b/test: T650-regexp-query.sh.orig |