diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-27 12:17:12 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-30 14:34:37 +0200 |
commit | b526d46fae3c9c18b532f808687f3afdafbd1ce4 (patch) | |
tree | e8bac83f85ef9a0a1d218aa97643c95a3ad40ae7 /test/bug-002.sh | |
parent | 86c465b0e50e1479e819f63c0bac86e7aec236a1 (diff) | |
download | calcurse-b526d46fae3c9c18b532f808687f3afdafbd1ce4.zip |
Add a test case to reproduce BUG#2
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/bug-002.sh')
-rwxr-xr-x | test/bug-002.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/bug-002.sh b/test/bug-002.sh new file mode 100755 index 0000000..4784b59 --- /dev/null +++ b/test/bug-002.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +if [ "$1" = 'actual' ]; then + "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-bug-002" \ + -d05/03/2012 +elif [ "$1" = 'expected' ]; then + cat <<EOD +05/03/12: + - 10:45 -> 12:45 + Quantum Mechanics + - 18:30 -> 21:30 + German Class +EOD +else + ./run-test "$0" +fi |