From: Patrick Totzke Date: Mon, 2 Jan 2012 14:51:26 +0000 (+0000) Subject: clean up "compare thread ids" python test X-Git-Tag: debian/0.12_rc1-1~227 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=aadf202dd57f71e93cd598a1c31bd6fb82b011f7 clean up "compare thread ids" python test This makes the test script open the database in READ_ONLY mode and use the libraries own sorting methods instead of "sort". --- diff --git a/test/python b/test/python index c3aa7266..c318cc10 100755 --- a/test/python +++ b/test/python @@ -7,11 +7,12 @@ add_email_corpus test_begin_subtest "compare thread ids" test_python < EXPECTED -test_expect_equal_file <(sort OUTPUT) EXPECTED +notmuch search --sort=oldest-first --output=threads tag:inbox | sed s/^thread:// > EXPECTED +test_expect_equal_file OUTPUT EXPECTED test_done