]> git.notmuchmail.org Git - notmuch/blobdiff - test/T355-smime.sh
test: only accept short and long options, not silly in-betweens
[notmuch] / test / T355-smime.sh
index d942412510cbaeb71821b4f1e897267cc2994191..1efefcbd7a239ebbcf1461fe07e2d08c0bf47eab 100755 (executable)
@@ -51,7 +51,7 @@ output=$(notmuch show --format=json --verify subject:"test signed message 001" \
 expected='[[[{"id": "XXXXX",
  "match": true,
  "excluded": false,
- "filename": "YYYYY",
+ "filename": ["YYYYY"],
  "timestamp": 946728000,
  "date_relative": "2000-01-01",
  "tags": ["inbox","signed"],
@@ -69,7 +69,8 @@ expected='[[[{"id": "XXXXX",
  "content-type": "text/plain",
  "content": "This is a test signed message.\n"},
  {"id": 3,
-  "content-length": 1922,
+  "content-disposition": "attachment",
+  "content-length": "NONZERO",
   "content-transfer-encoding": "base64",
   "content-type": "application/x-pkcs7-signature",
   "filename": "smime.p7s"}]}]},