From daccd2d6dad72ea1df5e9d1b09c4f0c26d7b880e Mon Sep 17 00:00:00 2001 From: Didier Raboud Date: Fri, 23 Oct 2020 09:24:39 +0200 Subject: Revert "autopkgtests: Also test _all_ drivers, but with one PDF only" This reverts commit 4dc288a87bbfb8d1a8bfdfcd5b8f0922d89610ce. --- debian/tests/control | 2 +- debian/tests/printer-driver-hpcups-all | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100755 debian/tests/printer-driver-hpcups-all diff --git a/debian/tests/control b/debian/tests/control index 534e89904..48d5a75de 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,4 +1,4 @@ -Tests: printer-driver-hpcups, printer-driver-hpcups-all +Tests: printer-driver-hpcups Restrictions: needs-root Depends: printer-driver-hpcups, cups, cups-client (>= 1.7.3-5~) diff --git a/debian/tests/printer-driver-hpcups-all b/debian/tests/printer-driver-hpcups-all deleted file mode 100755 index 8e68acb8e..000000000 --- a/debian/tests/printer-driver-hpcups-all +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -e - -# Build a list of driver names from the .drv file, excluding these that say they need a proprietary driver -# Take all drivers -HPCUPS_DRIVERS_LIST=$( - grep -A4 -P 'NickName.*Version(?!, requires proprietary plugin)\"$' /usr/share/cups/drv/hpcups.drv | \ - grep -E '^ *PCFileName' | \ - sed -e 's#^ *PCFileName "\(.*\)"$#drv:///hpcups.drv/\1#g' -) - -# … but print only one PDF -PDFS_PATH=`mktemp -d` -cp /usr/share/cups/data/default-testpage.pdf $PDFS_PATH/ - -/usr/share/cups/test-drivers -n adt-test-hpcups-0 -p $PDFS_PATH -l "$HPCUPS_DRIVERS_LIST" -- cgit v1.2.3