File: 05-multiple-mail-dir

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 (13 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

mv Mail MailA
cp -r MailA MailB

mdiff MailA MailB
assert $? 0 "mdiff failed"

grep '^ADD.* MailA' log.mddiff > /dev/null
assert $? 0 "mdiff not processing MailA"
grep '^ADD.* MailB' log.mddiff > /dev/null
assert $? 0 "mdiff not processing MailB"