Your message dated Sat, 04 Apr 2020 23:33:44 +0000
with message-id <[email protected]>
and subject line Bug#953538: fixed in libxcrypt 1:4.4.16-1
has caused the Debian Bug report #953538,
regarding run tests as autopkg test
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
953538: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953538
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libxcrypt
Version: 1:4.4.15-1
Tags: patch

run tests as autopkg test. I didn't investigate yet, why the one test fails
using this approach.

diff -Nru libxcrypt-4.4.10/debian/changelog libxcrypt-4.4.10/debian/changelog
--- libxcrypt-4.4.10/debian/changelog	2020-03-04 10:28:00.000000000 +0100
+++ libxcrypt-4.4.10/debian/changelog	2020-03-06 09:55:32.000000000 +0100
@@ -1,3 +1,9 @@
+libxcrypt (1:4.4.10-10ubuntu3) focal; urgency=medium
+
+  * Add an autopkg test to run the tests with the install library.
+
+ -- Matthias Klose <[email protected]>  Fri, 06 Mar 2020 09:55:32 +0100
+
 libxcrypt (1:4.4.10-10ubuntu2) focal; urgency=medium
 
   * Adjust Breaks/Replaces for libc*.
diff -Nru libxcrypt-4.4.10/debian/tests/control libxcrypt-4.4.10/debian/tests/control
--- libxcrypt-4.4.10/debian/tests/control	1970-01-01 01:00:00.000000000 +0100
+++ libxcrypt-4.4.10/debian/tests/control	2020-03-06 09:55:32.000000000 +0100
@@ -0,0 +1,3 @@
+Tests: testsuite
+Depends: @
+Restrictions: build-needed, allow-stderr
diff -Nru libxcrypt-4.4.10/debian/tests/testsuite libxcrypt-4.4.10/debian/tests/testsuite
--- libxcrypt-4.4.10/debian/tests/testsuite	1970-01-01 01:00:00.000000000 +0100
+++ libxcrypt-4.4.10/debian/tests/testsuite	2020-03-06 09:54:52.000000000 +0100
@@ -0,0 +1,38 @@
+#!/bin/sh
+
+set -e
+
+WORKDIR=$(mktemp -d)
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+
+# copy the built tests (not the libtool wrappers)
+cp -a build-deb1/test/.libs/* $WORKDIR
+
+cd $WORKDIR
+ls -l
+errs=
+
+for t in *; do
+  case $t in fcrypt-enosys)
+    echo "========== Skipping test $t =========="
+    continue
+  esac
+
+  echo "========== Running test $t =========="
+  if [ -f ./$t ] && [ -x ./$t ]; then
+    if ./$t; then
+      echo "========== OK $t =========="
+    else
+      echo "========== FAIL $t =========="
+      errs="$errs $t"
+    fi
+  fi
+done
+
+if [ -n "$errs" ]; then
+  echo "Testsuite failed ($errs)"
+  exit 1
+else
+  echo "Testsuite passed"
+  exit 0
+fi

--- End Message ---
--- Begin Message ---
Source: libxcrypt
Source-Version: 1:4.4.16-1
Done: Marco d'Itri <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libxcrypt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <[email protected]> (supplier of updated libxcrypt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 05 Apr 2020 01:12:05 +0200
Source: libxcrypt
Architecture: source
Version: 1:4.4.16-1
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Closes: 953538 953958
Changes:
 libxcrypt (1:4.4.16-1) unstable; urgency=medium
 .
   * New upstream release.
   * Rename back the library to libcrypt.so.1 on ia64. (Closes: #953958)
   * Add an autopkg test contributed by Matthias Klose. (Closes: #953538)
Checksums-Sha1:
 bec1e91cc270cbd334ba26e2c8ce58ca1771b5f3 1463 libxcrypt_4.4.16-1.dsc
 a8e2c572f55b7e24e525a6615705e81a0c7096b5 354788 libxcrypt_4.4.16.orig.tar.xz
 e158134110734f79c4291d72206a8d39d5ba36c6 5484 libxcrypt_4.4.16-1.debian.tar.xz
 eeca5e490e366358880e5f86dc75b0946be5ce4d 6154 
libxcrypt_4.4.16-1_amd64.buildinfo
Checksums-Sha256:
 764d1087763b0098781e74a33071131cb01719b97635296184365fcac37f397b 1463 
libxcrypt_4.4.16-1.dsc
 6a675b4ef1adde90b07ebc2f45eb9cd26702fbf87aa625d5aae9f68581d34fa6 354788 
libxcrypt_4.4.16.orig.tar.xz
 e1409ed7e800b98f62a13f8775db0a7a146d2d96a19b371bbfd3bbd73d05abb3 5484 
libxcrypt_4.4.16-1.debian.tar.xz
 f91a69126e4002dabaf4e49f77791497434edaffd3175e18028d694251569036 6154 
libxcrypt_4.4.16-1_amd64.buildinfo
Files:
 65e283631f363090e13c55c831c80c71 1463 admin optional libxcrypt_4.4.16-1.dsc
 bf9943a6bee2d2e48b9b7827a94f1981 354788 admin optional 
libxcrypt_4.4.16.orig.tar.xz
 51f1b3c4b6ee79486743304add934179 5484 admin optional 
libxcrypt_4.4.16-1.debian.tar.xz
 ab6c32635f626e550a546b80aabf2e3e 6154 admin optional 
libxcrypt_4.4.16-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQQnKUXNg20437dCfobLPsM64d7XgQUCXokVQgAKCRDLPsM64d7X
gYuiAQCn0IHoivpMBfjdw68VG1pvg4PyQLJiW9cB2+n2qEQQKQEA0/b6xUvDqTRK
R+CyHKimQJ6e9dIDXah+0Ttc/6BntgY=
=XYqf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to