summary refs log tree commit diff
path: root/t/9000-minc.t
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2017-04-02 18:06:11 +0200
committerDuncaen <mail@duncano.de>2017-04-02 18:06:11 +0200
commitb0f5662c5f64eeac730be9e37fb306b8db230a8e (patch)
treee5bd5079c7c751a9f8f10ca5bfe1ea9bfeb4669c /t/9000-minc.t
parent537282d6af33e24f653884b41dc54ac2d143a664 (diff)
downloadmblaze-b0f5662c5f64eeac730be9e37fb306b8db230a8e.tar.gz
mblaze-b0f5662c5f64eeac730be9e37fb306b8db230a8e.tar.xz
mblaze-b0f5662c5f64eeac730be9e37fb306b8db230a8e.zip
t: add maddr and minc tests
Diffstat (limited to 't/9000-minc.t')
-rw-r--r--t/9000-minc.t19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/9000-minc.t b/t/9000-minc.t
new file mode 100644
index 0000000..3d5b789
--- /dev/null
+++ b/t/9000-minc.t
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+cd ${0%/*}
+. ./lib.sh
+plan 1
+
+rm -rf test.dir
+mkdir test.dir
+(
+cd test.dir
+
+mkdir -p inbox/cur inbox/new
+while read f; do touch "$f"; done <<!
+inbox/new/1:2,
+inbox/new/2
+!
+
+check_test 'minc' -eq 2 'minc inbox | wc -l'
+
+)