Package: debianutils
Version: 4.11.2
Severity: wishlist
X-Debbugs-Cc: t...@mirbsd.de

The recent change changes the application to send this
information to stdout. This however is not what normal
Unix users expect *and* probably will break users’ scripts.

The correct fix for #961872 is to do this instead:

diff --git a/debian/tests/smoke b/debian/tests/smoke
index 5dc69ba..214985d 100644
--- a/debian/tests/smoke
+++ b/debian/tests/smoke
@@ -3,5 +3,5 @@
 run-parts --version
 tempfile 2>&1
 which sh
-ischroot --version
+ischroot --version 2>&1
 savelog

Or perhaps this even:

diff --git a/debian/tests/smoke b/debian/tests/smoke
index 5dc69ba..f63041b 100644
--- a/debian/tests/smoke
+++ b/debian/tests/smoke
@@ -1,7 +1,9 @@
 #!/bin/sh -e
 
+exec 2>&1
+
 run-parts --version
-tempfile 2>&1
+tempfile
 which sh
 ischroot --version
 savelog


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages debianutils depends on:
ii  libc6  2.31-3

debianutils recommends no packages.

debianutils suggests no packages.

-- no debconf information

Reply via email to