about summary refs log tree commit diff
path: root/t/2000-mpick.t
diff options
context:
space:
mode:
Diffstat (limited to 't/2000-mpick.t')
-rwxr-xr-xt/2000-mpick.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/2000-mpick.t b/t/2000-mpick.t
index 0b1296c..2f530e8 100755
--- a/t/2000-mpick.t
+++ b/t/2000-mpick.t
@@ -1,7 +1,7 @@
 #!/bin/sh -e
 cd ${0%/*}
 . ./lib.sh
-plan 28
+plan 29
 
 rm -rf test.dir
 mkdir test.dir
@@ -131,3 +131,5 @@ check_test 'multi redir' -eq 4 'mlist inbox | mpick ./expr | wc -l'
 check_test 'multi redir prefixes' -eq 2 'mlist inbox | mpick ./expr | cut -d: -f1 | sort -u | wc -l'
 
 )
+
+check 'environment variable' 'mlist inbox | MSGID="<EOH1F3NUOY.2KBVMHSBFATNY@example.org>" mpick -t "\"message-id\" == \$MSGID"'