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/event-001.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test/event-001.sh (limited to 'test/event-001.sh') diff --git a/test/event-001.sh b/test/event-001.sh new file mode 100755 index 0000000..6496309 --- /dev/null +++ b/test/event-001.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "$1" = 'actual' ]; then + "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-event-001" \ + -d02/23/2013 +elif [ "$1" = 'expected' ]; then + cat <