Add Debian tests again, to fix testsuite.
Also change timezone to UTC, following upstream change
Gianfranco Costamagna
4 years ago
|
0 |
pgpdump (0.33-2) unstable; urgency=medium
|
|
1 |
|
|
2 |
[ Gianfranco Costamagna ]
|
|
3 |
* Fix testsuite, force UTC as timestamp
|
|
4 |
* Team upload.
|
|
5 |
|
|
6 |
[ Steve Langasek ]
|
|
7 |
* Restore dropped debian/test. Closes: #902828.
|
|
8 |
|
|
9 |
-- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 12 Jul 2019 12:33:15 +0200
|
|
10 |
|
0 | 11 |
pgpdump (0.33-1) unstable; urgency=medium
|
1 | 12 |
|
2 | 13 |
* release to unstable
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
set -e
|
|
3 |
|
|
4 |
if [ -x ./pgpdump ]; then
|
|
5 |
PGPDUMP=./pgpdump
|
|
6 |
else
|
|
7 |
PGPDUMP=pgpdump
|
|
8 |
fi
|
|
9 |
|
|
10 |
res=0
|
|
11 |
for file in $(find data -name '*.res' -type f | env LANG=C sort); do
|
|
12 |
src=$(basename "$file" .res)
|
|
13 |
printf '%s' "$src"
|
|
14 |
if env TZ=UTC "$PGPDUMP" "data/$src" | cmp -s - "$file"; then
|
|
15 |
echo " ok"
|
|
16 |
else
|
|
17 |
echo " failed"
|
|
18 |
res=1
|
|
19 |
fi
|
|
20 |
done
|
|
21 |
exit "$res"
|