diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-26 23:34:29 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-27 11:36:28 +0100 |
commit | ba2c5c14f6408872ec34a223d131266ab83e4b7d (patch) | |
tree | 1eaf195f841fb7fa70e2f4cf729dd841292651f6 /test/appointment-011.sh | |
parent | 5501dae32874bf3f65f7619aa76c6a213bbce321 (diff) | |
download | calcurse-ba2c5c14f6408872ec34a223d131266ab83e4b7d.zip |
test/: Add default values for configuration variables
Add a small helper script called "test-init.sh" that is sourced in each
test case and initializes the CALCURSE and DATA_DIR environment
variables.
Update the test suite README to point out that setting these environment
variables is no longer required.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'test/appointment-011.sh')
-rwxr-xr-x | test/appointment-011.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/appointment-011.sh b/test/appointment-011.sh index 94098fb..120388e 100755 --- a/test/appointment-011.sh +++ b/test/appointment-011.sh @@ -1,5 +1,7 @@ #!/bin/sh +. ./test-init.sh + "$CALCURSE" --read-only -D "$DATA_DIR"/ -c "$DATA_DIR/apts-appointment-011" \ -d02/23/2013 2>errors && exit 1 grep -Fq 'syntax error in item time or duration' errors |