mblaze/t/9000-minc.t

20 lines
234 B
Perl
Raw Normal View History

2017-04-02 16:06:11 +00:00
#!/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'
)