[pkg-gnupg-maint] Bug#902828: pgpdump: autopkgtest regression: sh: 0: Can't open debian/test

Gianfranco Costamagna locutusofborg at debian.org
Fri Jul 12 11:36:49 BST 2019


control: severity -1 serious
control: tags -1 patch
On Sun, 1 Jul 2018 21:18:45 +0200 Paul Gevers <elbrus at debian.org> wrote:
> Source: pgpdump
> Version: 0.33-1
> User: debian-ci at lists.debian.org
> Usertags: regression
> 
> Dear maintainers,
> 
> Since the upload of 0.33-1, your package fails its autopkgtest in
> both unstable and testing, with the error copied below. It seems you
> dropped the file you wanted to test somewhere during packaging.
> 
> This regression is causing your package to have to wait 13 extra days to
> migrate to testing.
> 
> Thanks for consideration.
> 
> Paul
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/p/pgpdump/533316/log.gz
> 
> autopkgtest [19:13:36]: test command1: [-----------------------
> sh: 0: Can't open debian/test
> autopkgtest [19:13:36]: test command1: -----------------------]
> 

This is now RC, and I'm uploading a fix in deferred/15, after testing the patch I'm attaching
to this bug.
Please let me know if I can speed it up, this is a really simple fix

You can see the test results here
http://debomatic-amd64.debian.net/distribution#unstable/pgpdump/0.33-1.1/autopkgtest

G.
-------------- next part --------------
diff -Nru pgpdump-0.33/debian/changelog pgpdump-0.33/debian/changelog
--- pgpdump-0.33/debian/changelog	2018-06-25 23:57:29.000000000 +0200
+++ pgpdump-0.33/debian/changelog	2019-07-12 12:33:15.000000000 +0200
@@ -1,3 +1,14 @@
+pgpdump (0.33-1.1) unstable; urgency=medium
+
+  [ Gianfranco Costamagna ]
+  * Fix testsuite, force UTC as timestamp
+  * Non-maintainer upload
+
+  [ Steve Langasek ]
+  * Restore dropped debian/test.  Closes: #902828.
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Fri, 12 Jul 2019 12:33:15 +0200
+
 pgpdump (0.33-1) unstable; urgency=medium
 
   * release to unstable
diff -Nru pgpdump-0.33/debian/test pgpdump-0.33/debian/test
--- pgpdump-0.33/debian/test	1970-01-01 01:00:00.000000000 +0100
+++ pgpdump-0.33/debian/test	2019-07-12 12:31:09.000000000 +0200
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+set -e
+
+if [ -x ./pgpdump ]; then
+	PGPDUMP=./pgpdump
+else
+	PGPDUMP=pgpdump
+fi
+
+res=0
+for file in $(find data -name '*.res' -type f | env LANG=C sort); do
+    src=$(basename "$file" .res)
+    printf '%s' "$src"
+    if env TZ=UTC "$PGPDUMP" "data/$src" | cmp -s - "$file"; then
+	echo " ok"
+    else
+	echo " failed"
+        res=1
+    fi
+done
+exit "$res"


More information about the pkg-gnupg-maint mailing list