From 69d51f97ba6cbbe63dbc11f67d096e6526230228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 17 Mar 2020 18:31:49 +0100 Subject: Remove autopkgtest --- debian/changelog | 2 +- debian/tests/control | 9 --------- debian/tests/start-net | 33 --------------------------------- 3 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 debian/tests/control delete mode 100644 debian/tests/start-net diff --git a/debian/changelog b/debian/changelog index 59f4474..80b6033 100644 --- a/debian/changelog +++ b/debian/changelog @@ -61,7 +61,7 @@ sane-backends (1.0.29-1~experimental1) experimental; urgency=medium * Install all docs: - New debian/libsane-common.dirs, debian/libsane-common.docs, debian/not-installed. - * Fix autopkgtest. + * Remove autopkgtest. * Remove unused files and patches. * Reuse debian/patches/0125-multiarch_dll_search_path.patch (Closes: #931297). diff --git a/debian/tests/control b/debian/tests/control deleted file mode 100644 index af31d1d..0000000 --- a/debian/tests/control +++ /dev/null @@ -1,9 +0,0 @@ -# -# control file for autopkgtests -# writen from Jörg Frings-Fürst -# -# 1. start-net -# -Tests: start-net -Depends: sane-utils, grep, coreutils -Restrictions: needs-root allow-stderr diff --git a/debian/tests/start-net b/debian/tests/start-net deleted file mode 100644 index 4ce08f1..0000000 --- a/debian/tests/start-net +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -set -ex - -# Simple test for sane-backends. -# Author: Jörg Frings-Fürst -# dep8 restrictions: breaks-bestbed needs-root allow-stderr - - -# Enable localhost -/bin/sed -i '/localhost/d' /etc/sane.d/saned.conf -echo localhost >>/etc/sane.d/saned.conf - -# Enable pnm -/bin/sed -i 's/^#\(pnm\)$/\1/' /etc/sane.d/dll.conf - -# Enable net @ localhost -/bin/sed -i 's/^# \(localhost\)$/\1/' /etc/sane.d/net.conf - -# Enable & start saned.socket -#/bin/systemctl enable saned.socket -#/bin/systemctl start saned.socket - -# -# test -# -CNT=`/usr/bin/scanimage -d net -L | /bin/grep net: | /usr/bin/wc -l` - -if [ ${CNT} -eq 2 ] ; then - exit 0 -else - exit 100 -fi - -- cgit v1.2.3