From 537c0a24ac667a7996e726fabfb645eb91d2b583 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 15 Oct 2016 21:05:07 +0100 Subject: Test suite: tstunt-parsechangelog: Produce Timestamp field Like official one does, nowadays. Signed-off-by: Ian Jackson --- tests/tstunt/dpkg-parsechangelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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/) { -- cgit v1.2.3