diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-15 21:05:07 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-15 21:06:43 +0100 |
commit | 537c0a24ac667a7996e726fabfb645eb91d2b583 (patch) | |
tree | 115e8692c3aa1a2d549b4752db1b09fe97c0c317 /tests/tstunt/dpkg-parsechangelog | |
parent | d7615b2df06548d7454ab3ad1a309b475900ab4b (diff) |
Test suite: tstunt-parsechangelog: Produce Timestamp field
Like official one does, nowadays.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tstunt/dpkg-parsechangelog')
-rwxr-xr-x | tests/tstunt/dpkg-parsechangelog | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tstunt/dpkg-parsechangelog b/tests/tstunt/dpkg-parsechangelog index 436591f..ba6ef54 100755 --- a/tests/tstunt/dpkg-parsechangelog +++ b/tests/tstunt/dpkg-parsechangelog @@ -60,7 +60,8 @@ for (;;) { Maintainer: $1 Date: $2 END - last; + print "Timestamp: " or die $!; + exec qw(date +%s -d), $2; die $!; } elsif (m/^ --\s*$/) { last; } elsif (!m/\S/) { |