Bug#894391: strip-nondeterminism: fix testsuite [patch]

Gianfranco Costamagna locutusofborg at debian.org
Thu Mar 29 17:42:16 UTC 2018


Source: strip-nondeterminism
Version: 0.040-1
Severity: important
Tags: patch

Hello, the testsuite is now broken, because debhelper assumes a debian directory available during the perl import code
e.g.
"require Debian::Debhelper::Dh_Lib"

so, copying the debian directory to the testsuite path fixes this error, patch at

http://launchpadlibrarian.net/362577713/strip-nondeterminism_0.040-1_0.040-1ubuntu1.diff.gz

--- strip-nondeterminism-0.040/debian/tests/testsuite  2017-10-29 16:42:39.000000000 +0100
+++ strip-nondeterminism-0.040/debian/tests/testsuite  2018-03-29 19:10:41.000000000 +0200
@@ -5,7 +5,7 @@
 tmp="${AUTOPKGTEST_TMP:-"${ADTTMP:-"$(mktemp -d)"}"}"
 
 mkdir -p "$tmp"
-cp -rv t/ bin/ "$tmp"
+cp -rv t/ bin/ debian/ "$tmp"
 cd "$tmp"
 
 set +e


thanks for considering it!

Gianfranco

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20180329/9408a8b6/attachment.sig>


More information about the Reproducible-builds mailing list