X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2FT357-index-decryption.sh;h=c9cd5e3001043bbf330b31c7605884edb8c00cb4;hp=0a602e50c3b6fb7833e170edc1e26a0a4bfca41a;hb=e1c8357c441d4e70fb28838dead5a490f4663b87;hpb=eeff4319960d88e60c202dac4047913262d67d85 diff --git a/test/T357-index-decryption.sh b/test/T357-index-decryption.sh index 0a602e50..c9cd5e30 100755 --- a/test/T357-index-decryption.sh +++ b/test/T357-index-decryption.sh @@ -224,10 +224,11 @@ add_email_corpus crypto test_begin_subtest "indexing message fails when secret key not available" notmuch reindex --decrypt=true id:simple-encrypted@crypto.notmuchmail.org -output=$(notmuch dump ) -expected='#notmuch-dump batch-tag:3 config,properties,tags -+encrypted +inbox +unread -- id:simple-encrypted@crypto.notmuchmail.org -#= simple-encrypted@crypto.notmuchmail.org index.decryption=failure' +output=$(notmuch dump | LC_ALL=C sort) +expected='#= simple-encrypted@crypto.notmuchmail.org index.decryption=failure +#notmuch-dump batch-tag:3 config,properties,tags ++encrypted +inbox +unread -- id:basic-encrypted@crypto.notmuchmail.org ++encrypted +inbox +unread -- id:simple-encrypted@crypto.notmuchmail.org' test_expect_equal \ "$output" \ "$expected" @@ -245,8 +246,8 @@ notmuch restore <