diff options
author | Julian Rother <julianr@fsmpi.rwth-aachen.de> | 2020-06-07 14:24:57 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-06-07 15:33:53 +0200 |
commit | e5206792df210e915efe46a0a3074689fbe82b31 (patch) | |
tree | a57d8d28803167fdad25bd2ef6af1e6d8625ab9b /t | |
parent | 282de65079f2a5438df3632d1811219250ee18b8 (diff) | |
download | mblaze-e5206792df210e915efe46a0a3074689fbe82b31.tar.gz mblaze-e5206792df210e915efe46a0a3074689fbe82b31.tar.xz mblaze-e5206792df210e915efe46a0a3074689fbe82b31.zip |
t/2000-mpick.t: test environment variables in expressions
Diffstat (limited to 't')
-rwxr-xr-x | t/2000-mpick.t | 4 |
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"' |