summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-17 18:31:49 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-17 18:31:49 +0100
commit69d51f97ba6cbbe63dbc11f67d096e6526230228 (patch)
treed7580324a99c0c2439a9b6f3ee28cc376b52287f /debian/tests
parentb38de5752a441bcdada0a504adbedaea297dae4c (diff)
Remove autopkgtest
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control9
-rw-r--r--debian/tests/start-net33
2 files changed, 0 insertions, 42 deletions
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 <debian@jff-webhosting.net>
-#
-# 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 <debian@jff-webhosting.net>
-# 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
-