From aadf202dd57f71e93cd598a1c31bd6fb82b011f7 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Mon, 2 Jan 2012 14:51:26 +0000 Subject: [PATCH] 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". --- test/python | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.43.0