Package: libisoburn Version: Add autopkgtest Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu kinetic ubuntu-patch
Dear Maintainer, Please find attached a patch that enables the releng testsuite. Thanks for considering the patch. -- System Information: Debian Release: bookworm/sid APT prefers jammy-updates APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-30-generic (SMP w/16 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru libisoburn-1.5.4/debian/patches/0002-Patch-releng-run_all_auto.patch libisoburn-1.5.4/debian/patches/0002-Patch-releng-run_all_auto.patch --- libisoburn-1.5.4/debian/patches/0002-Patch-releng-run_all_auto.patch 1970-01-01 01:00:00.000000000 +0100 +++ libisoburn-1.5.4/debian/patches/0002-Patch-releng-run_all_auto.patch 2022-06-07 10:57:10.000000000 +0200 @@ -0,0 +1,26 @@ +From 2a365ec1d730dc9ae6bb2c9f047dbd04a276fae6 Mon Sep 17 00:00:00 2001 +From: Alexandre Ghiti <alexandre.gh...@canonical.com> +Date: Wed, 8 Jun 2022 14:39:18 +0200 +Subject: [PATCH] Patch releng run_all_auto + +--- + releng/run_all_auto | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/releng/run_all_auto ++++ b/releng/run_all_auto +@@ -231,12 +231,14 @@ + RET_GREP="$?" + case ${RET_GREP} in + 0) # found ++ exit 1 + ;; + 1) # not found + echo "${SELF}: Log file looks clear." # | tee -a ${CLOG} + ;; + *) # + echo "${SELF}: grep returned EXIT CODE: ${RET_GREP}." # | tee -a ${CLOG} ++ exit 1 + ;; + esac + set -e diff -Nru libisoburn-1.5.4/debian/patches/series libisoburn-1.5.4/debian/patches/series --- libisoburn-1.5.4/debian/patches/series 2021-09-18 10:13:15.000000000 +0200 +++ libisoburn-1.5.4/debian/patches/series 2022-06-07 10:57:10.000000000 +0200 @@ -1,2 +1,3 @@ 01-kfreebsd-without-libcam.patch 99-autoupdate.patch +0002-Patch-releng-run_all_auto.patch diff -Nru libisoburn-1.5.4/debian/tests/control libisoburn-1.5.4/debian/tests/control --- libisoburn-1.5.4/debian/tests/control 1970-01-01 01:00:00.000000000 +0100 +++ libisoburn-1.5.4/debian/tests/control 2022-06-07 10:57:10.000000000 +0200 @@ -0,0 +1,3 @@ +Test-Command: cd ./releng && ./run_all_auto -x $(which xorriso) +Depends: xorriso, g++, libburn-dev, libisofs-dev +Restrictions: allow-stderr