~ubuntu-branches/ubuntu/hardy/dbacl/hardy

« back to all changes in this revision

Viewing changes to src/tests/email-headers.shin

  • Committer: Bazaar Package Importer
  • Author(s): Zak B. Elep
  • Date: 2006-03-26 22:35:35 UTC
  • mto: (2.1.1 etch) (1.1.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060326223535-icwiulpkzesds4mq
ImportĀ upstreamĀ versionĀ 1.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
mkdir "$DBACL_PATH"
21
21
 
22
 
cat sample.spam-2 \
 
22
cat ${sourcedir}/sample.spam-2 \
23
23
    | $DBACL -R -D -T email -T email:headers \
24
24
    | tr -s '[ \t\n\r]' \
25
25
    > "$DBACL_PATH/out"
26
26
 
27
 
diff verify.email-headers "$DBACL_PATH/out"
 
27
diff ${sourcedir}/verify.email-headers "$DBACL_PATH/out"
28
28
 
29
29
RESULT=$?
30
30
rm -rf "$DBACL_PATH"