From 2e62536f90fd0ab36eec5b8f2bcb85c33420d2a5 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 20 Apr 2009 09:05:57 +0200 Subject: [PATCH] Bugfix: t0000-config test config file was wrong $TODO_DIR were not protected therefore evaluated to null string Hopefully it was used only to test for its own presence but better to fix it in case someone wants to reuse that code Signed-off-by: Emil Sit --- tests/t0000-config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/t0000-config.sh b/tests/t0000-config.sh index 228ec0a..94653c5 100755 --- a/tests/t0000-config.sh +++ b/tests/t0000-config.sh @@ -23,10 +23,10 @@ EOF cat > test.cfg << EOF export TODO_DIR=. -export TODO_FILE="$TODO_DIR/todo.txt" -export DONE_FILE="$TODO_DIR/done.txt" -export REPORT_FILE="$TODO_DIR/report.txt" -export TMP_FILE="$TODO_DIR/todo.tmp" +export TODO_FILE="\$TODO_DIR/todo.txt" +export DONE_FILE="\$TODO_DIR/done.txt" +export REPORT_FILE="\$TODO_DIR/report.txt" +export TMP_FILE="\$TODO_DIR/todo.tmp" touch used_config EOF