summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-25 16:13:35 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-26 01:20:43 +0100
commit4726b7cafa20d7dfe20d82f8c56f8aa19670c30e (patch)
treedb3e1c1692120a2a6418dc9174d8e9b674964d2d /tests
parent27ecf86e831ab5a4908a2d0541e0e987e39da48e (diff)
test suite: Provide tstunt/debchange
This uses faketime to get the date right, like t-dch does. It has to be requested with t-tstunt debchange, which nothing does yet, so NFC. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tstunt/debchange4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tstunt/debchange b/tests/tstunt/debchange
new file mode 100755
index 0000000..8c81823
--- /dev/null
+++ b/tests/tstunt/debchange
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -x
+faketime @"${GIT_AUTHOR_DATE% *}" \
+"$DGIT_TEST_REAL_DEBCHANGE" "$@"