Source: diffutils Version: 1:3.10-1 Severity: wishlist Tags: patch Dear Maintainer,
Please find the attached patch to enable running tests as part of autopkgtest. Since there was no official repository available, I downloaded the diffutils tarball and made the necessary changes to run autopkgtest The patch has been verified against the downloaded tarball. Just for your information I created folder called tests under debian folder and added 2 files(control, upstream). http://deb.debian.org/debian/pool/main/d/diffutils/diffutils_3.10-1.debian.tar.xz http://deb.debian.org/debian/pool/main/d/diffutils/diffutils_3.10.orig.tar.xz -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-26-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Thanks & Regards Zaiba Sanglikar
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..8332849 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: upstream +Depends:@,@builddeps@ +Restrictions: allow-stderr diff --git a/debian/tests/upstream b/debian/tests/upstream new file mode 100644 index 0000000..39374e3 --- /dev/null +++ b/debian/tests/upstream @@ -0,0 +1,12 @@ +#!/bin/sh +set -ex + +echo "=============tests================" +cd tests + +make check + +echo "=============gnulib-tests================" +cd ../gnulib-tests + +make check

