File: 02-first-run

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

mdiff Mail
assert $? 0 "mdiff failed"

test -f db.txt.new
assert $? 0 "mdiff not generating .new file"
test -f db.txt.mtime.new
assert $? 0 "mdiff not generating mtime.new file"

grep -v ^warning log.mddiff > log.cleaned
grep -v ^ADD log.cleaned > /dev/null
assert $? 1 "mdiff generating non ADD commands"