about summary refs log tree commit diff
path: root/t
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-01-27 18:10:26 +0100
committerLeah Neukirchen <leah@vuxu.org>2021-01-27 18:10:26 +0100
commit741972a4166d08e1055848827fbc871d91e55b1f (patch)
tree26cdceeeb484d11149003bec087d86ec036fabd6 /t
parentc2d497b1393133c3dfd36415560f7c2ac9959329 (diff)
downloadmblaze-741972a4166d08e1055848827fbc871d91e55b1f.tar.gz
mblaze-741972a4166d08e1055848827fbc871d91e55b1f.tar.xz
mblaze-741972a4166d08e1055848827fbc871d91e55b1f.zip
t/8000-mflag.t: fix when stdin is not a tty
Diffstat (limited to 't')
-rw-r--r--t/8000-mflag.t16
1 files changed, 8 insertions, 8 deletions
diff --git a/t/8000-mflag.t b/t/8000-mflag.t
index e4ab70e..65562f6 100644
--- a/t/8000-mflag.t
+++ b/t/8000-mflag.t
@@ -20,20 +20,20 @@ ln -sf inbox/cur/1:2, cur
 export MAILSEQ=seq MAILCUR=cur
 
 check 'mark seen' 'mflag -S 1 && [ -e "inbox/cur/1:2,S" ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 check 'mark replied' 'mflag -R 1 && [ -e "inbox/cur/1:2,RS" ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 check 'unmark replied' 'mflag -r 1 && [ -e "inbox/cur/1:2,S" ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 check 'mark flagged' 'mflag -F 1 && [ -e "inbox/cur/1:2,FS" ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 check 'unmark flagged' 'mflag -f 1 && [ -e "inbox/cur/1:2,S" ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 check 'unmark seen' 'mflag -s 1 && [ -e "inbox/cur/1:2," ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 check 'mark trashed' 'mflag -T 1 && [ -e "inbox/cur/1:2,T" ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 check 'unmark trashed' 'mflag -t 1 && [ -e "inbox/cur/1:2," ]'
-check_test 'fix seq' -eq 2 'mseq -f | mseq -S | wc -l'
+check_test 'fix seq' -eq 2 'mseq -f : | mseq -S | wc -l'
 
 )