summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/tests/control2
-rwxr-xr-xdebian/tests/printer-driver-hpcups-all17
2 files changed, 1 insertions, 18 deletions
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"