From ba2c5c14f6408872ec34a223d131266ab83e4b7d Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 26 Feb 2013 23:34:29 +0100 Subject: 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 --- test/test-init.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/test-init.sh (limited to 'test/test-init.sh') diff --git a/test/test-init.sh b/test/test-init.sh new file mode 100644 index 0000000..c95c884 --- /dev/null +++ b/test/test-init.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +CALCURSE=${CALCURSE:-../src/calcurse} +DATA_DIR=${DATA_DIR:-data/} -- cgit v1.2.3-54-g00ecf