summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-02-16 17:02:16 +0200
committerLars Wirzenius <liw@liw.fi>2016-02-16 17:02:16 +0200
commitb362d4ddb335dda487417ff1a59e97946c2c2819 (patch)
treedfc137c66ac09dbfe43657a60ffc30cf26056a1e
parent4b5fbf55eace875aa0b5a1b8d3e2d6f6854827b4 (diff)
downloadjt-b362d4ddb335dda487417ff1a59e97946c2c2819.tar.gz
Make sure time.conf always exists
cliapp has become snarky about config files the user specifies with --config that do not actually exist. This is good of cliapp, but broke the jt test suite, which sometimes has and sometimes hasn't got a time.conf. We fix this by make sure time.conf always exists, even if it's empty.
-rw-r--r--yarns/yarn.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/yarns/yarn.sh b/yarns/yarn.sh
index 1f02369..04539da 100644
--- a/yarns/yarn.sh
+++ b/yarns/yarn.sh
@@ -24,6 +24,7 @@
run_jt()
{
set +e
+ touch "$DATADIR/time.conf"
EDITOR=true \
"$SRCDIR/jt" --no-default-config \
--config "$DATADIR/source.conf" \