File: t19-listdomain

package info (click to toggle)
qsf 1.2.7-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, lenny, squeeze, wheezy
  • size: 1,372 kB
  • ctags: 598
  • sloc: ansic: 9,981; sh: 816; awk: 17; makefile: 6
file content (10 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# TEST: Listing of domains:             

$PROG -d $BACKEND:$TESTDB -aMe @Test2.com
(echo From: test@test2.com; echo; echo test) | $PROG -d $BACKEND:$TESTDB -at >/dev/null
(echo From: blah@test3.com; echo; echo test) | $PROG -d $BACKEND:$TESTDB -yM >/dev/null
$PROG -d $BACKEND:$TESTDB -ymme @Test3.com
(echo From: test@test3.com; echo; echo test) | $PROG -d $BACKEND:$TESTDB -ayt >/dev/null || exit 0
exit 1