about summary refs log tree commit diff
path: root/t/9000-minc.t
diff options
context:
space:
mode:
Diffstat (limited to 't/9000-minc.t')
-rw-r--r--t/9000-minc.t8
1 files changed, 7 insertions, 1 deletions
diff --git a/t/9000-minc.t b/t/9000-minc.t
index 3d5b789..9b29194 100644
--- a/t/9000-minc.t
+++ b/t/9000-minc.t
@@ -1,7 +1,7 @@
 #!/bin/sh -e
 cd ${0%/*}
 . ./lib.sh
-plan 1
+plan 2
 
 rm -rf test.dir
 mkdir test.dir
@@ -16,4 +16,10 @@ inbox/new/2
 
 check_test 'minc' -eq 2 'minc inbox | wc -l'
 
+while read f; do touch "$f"; done <<!
+inbox/new/3:2,
+inbox/new/4
+!
+
+check_test 'minc stdin' -eq 2 'echo inbox | minc | wc -l'
 )