File: 21-pull-verbose

package info (click to toggle)
syncmaildir 1.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,104 kB
  • sloc: ansic: 6,643; sh: 1,780; makefile: 247
file content (16 lines) | stat: -rw-r--r-- 324 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

mpull -t
assert $? 0 "failed mpull -t"

mpull -v
assert $? 0 "failed mpull -v"
test_eq Mail target/Mail 
W=`grep '^Phase.[0-9]:' log.pull | wc -l`
assert $W 4 "bad log"

mpull -s
assert $? 0 "failed mpull -v"
test_eq Mail target/Mail 
W=`grep '^Phase.[0-9]:' log.pull | wc -l`
assert $W 0 "bad log, not 0 Phases"