about summary refs log tree commit diff
path: root/t
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-01-27 18:09:34 +0100
committerLeah Neukirchen <leah@vuxu.org>2021-01-27 18:09:34 +0100
commitc2d497b1393133c3dfd36415560f7c2ac9959329 (patch)
tree46417d064b70426064cac0fe3c34107dc9341a75 /t
parent2d6de31cd7adbcb753d53aa3e57bda9f08a83d7d (diff)
downloadmblaze-c2d497b1393133c3dfd36415560f7c2ac9959329.tar.gz
mblaze-c2d497b1393133c3dfd36415560f7c2ac9959329.tar.xz
mblaze-c2d497b1393133c3dfd36415560f7c2ac9959329.zip
t/6000-msort.t: fix when stdin is not a tty
Diffstat (limited to 't')
-rw-r--r--t/6000-msort.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/6000-msort.t b/t/6000-msort.t
index dd21cd0..e4fc609 100644
--- a/t/6000-msort.t
+++ b/t/6000-msort.t
@@ -51,7 +51,7 @@ inbox/cur/4:2,
 
 export MAILSEQ=seq
 
-check_same 'filename' 'msort -F' 'cat seq'
+check_same 'filename' 'msort -F :' 'cat seq'
 
 cat <<! >expect
 inbox/cur/3:2,
@@ -59,7 +59,7 @@ inbox/cur/1:2,
 inbox/cur/2:2,
 inbox/cur/4:2,
 !
-check_same 'date' 'msort -d' 'cat expect'
+check_same 'date' 'msort -d :' 'cat expect'
 
 cat <<! >expect
 inbox/cur/4:2,
@@ -67,7 +67,7 @@ inbox/cur/2:2,
 inbox/cur/1:2,
 inbox/cur/3:2,
 !
-check_same 'reverse date' 'msort -dr' 'cat expect'
+check_same 'reverse date' 'msort -dr :' 'cat expect'
 
 cat <<! >expect
 inbox/cur/2:2,
@@ -75,7 +75,7 @@ inbox/cur/3:2,
 inbox/cur/4:2,
 inbox/cur/1:2,
 !
-check_same 'from' 'msort -f' 'cat expect'
+check_same 'from' 'msort -f :' 'cat expect'
 
 cat <<! >expect
 inbox/cur/3:2,
@@ -83,6 +83,6 @@ inbox/cur/2:2,
 inbox/cur/4:2,
 inbox/cur/1:2,
 !
-check_same 'subject' 'msort -s' 'cat expect'
+check_same 'subject' 'msort -s :' 'cat expect'
 
 )