File: test-rem

package info (click to toggle)
remind 03.00.19-2
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 1,452 kB
  • ctags: 1,712
  • sloc: ansic: 14,190; sh: 2,496; perl: 314; makefile: 165; csh: 14
file content (27 lines) | stat: -rw-r--r-- 858 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
# ---------------------------------------------------------------------------
# TEST-REM
#
# $Id: test-rem,v 1.2 1998/01/17 04:51:04 dfs Exp $
#
# This file runs an acceptance test for Remind.  To use it, type:
#      sh test-rem  OR make test
# in the build directory.
#
# This file is part of REMIND.
# Copyright (C) 1992-1997 by David F. Skoll        
# ---------------------------------------------------------------------------

TEST_GETENV="foo bar baz" ; export TEST_GETENV
../src/remind -e -dxte ../tests/test.rem 16 feb 1991 > ../tests/test.out
cmp -s ../tests/test.out ../tests/test.cmp
if [ "$?" = "0" ]; then
   echo "Remind:  Acceptance test PASSED"
   exit 0
else
   echo "Remind:  Acceptance test FAILED"
   echo ""
   echo "Examine the file test.out to see where it differs from the"
   echo "reference file test.cmp."
   exit 1
fi