mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
29 lines
911 B
Bash
29 lines
911 B
Bash
#!/bin/sh
|
|
# ---------------------------------------------------------------------------
|
|
# TEST-REM
|
|
#
|
|
# $Id: test-rem,v 1.4 2000-02-18 03:46:29 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 David F. Skoll
|
|
# Copyright (C) 1999-2000 Roaring Penguin Software Inc.
|
|
# ---------------------------------------------------------------------------
|
|
|
|
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
|