From 5501dae32874bf3f65f7619aa76c6a213bbce321 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 26 Feb 2013 22:17:29 +0100 Subject: test/: Add a couple of black-box tests for items This introduces five test suite failures which will be fixed in one of the following patches. Signed-off-by: Lukas Fleischer --- test/appointment-006.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test/appointment-006.sh (limited to 'test/appointment-006.sh') diff --git a/test/appointment-006.sh b/test/appointment-006.sh new file mode 100755 index 0000000..3746f5a --- /dev/null +++ b/test/appointment-006.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ "$1" = 'actual' ]; then + "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-006" \ + -d02/23/2013 +elif [ "$1" = 'expected' ]; then + cat < 12:00 + Appointment +EOD +else + ./run-test "$0" +fi -- cgit v1.2.3