summaryrefslogtreecommitdiff
path: root/tests/tstunt
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-25 17:21:37 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-26 01:20:44 +0100
commite079e1ff7f807be20888cd4cf8ca527f3e7ab6a0 (patch)
tree377a13f60d139d604703a04571d1be692e7363b4 /tests/tstunt
parent35c89cd28f7089073a4f9aafc1b60d8bdc3aca8a (diff)
test suite: dch: Always use tstunt/debchange
We are going to make this more sophisticated, so use it everywhere to avoid duplication. We need to soup up tstunt/debchange so that it does not depend on DGIT_TEST_REAL_DEBCHANGE. If it hasn't been put on the PATH by t-tstunt, that isn't set, and we can just run debchange from PATH. This makes faketime a test dependency for all the tests which don't have NO-DEFAULT. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tstunt')
-rwxr-xr-xtests/tstunt/debchange2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tstunt/debchange b/tests/tstunt/debchange
index 8c81823..f98e7fe 100755
--- a/tests/tstunt/debchange
+++ b/tests/tstunt/debchange
@@ -1,4 +1,4 @@
#!/bin/sh
set -x
faketime @"${GIT_AUTHOR_DATE% *}" \
-"$DGIT_TEST_REAL_DEBCHANGE" "$@"
+"${DGIT_TEST_REAL_DEBCHANGE-debchange}" "$@"