chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
dgit: clean: Prepare cleanmode_re for suffixes on git and git-ff
[dgit.git]
/
tests
/
tstunt
/
debchange
1
#!/bin/sh
2
set -e
3
4
spec=$(date --rfc-3339=seconds -d @"${GIT_AUTHOR_DATE% *}")
5
spec=${spec%+*}
6
7
# The nonsense with TZ is to work around #907264
8
tz_set=${TZ+set}
9
if ! test "$tz_set"; then tz_undef=-u; fi
10
11
set -x
12
13
exec \
14
env TZ=UTC \
15
faketime -f "$spec" \
16
env $tz_undef TZ${tz_set:+=}"$TZ" \
17
"${DGIT_TEST_REAL_DEBCHANGE-debchange}" "$@"