about summary refs log tree commit diff
path: root/t/2000-mpick.t
diff options
context:
space:
mode:
authorJulian Rother <julianr@fsmpi.rwth-aachen.de>2020-06-07 14:24:57 +0200
committerLeah Neukirchen <leah@vuxu.org>2020-06-07 15:33:53 +0200
commite5206792df210e915efe46a0a3074689fbe82b31 (patch)
treea57d8d28803167fdad25bd2ef6af1e6d8625ab9b /t/2000-mpick.t
parent282de65079f2a5438df3632d1811219250ee18b8 (diff)
downloadmblaze-e5206792df210e915efe46a0a3074689fbe82b31.tar.gz
mblaze-e5206792df210e915efe46a0a3074689fbe82b31.tar.xz
mblaze-e5206792df210e915efe46a0a3074689fbe82b31.zip
t/2000-mpick.t: test environment variables in expressions
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"'