summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rw-r--r--debian/tests/control9
-rw-r--r--debian/tests/start-net29
2 files changed, 0 insertions, 38 deletions
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index 0d875a9..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
-Restrictions: needs-root allow-stderr breaks-testbed
diff --git a/debian/tests/start-net b/debian/tests/start-net
deleted file mode 100644
index 65679c3..0000000
--- a/debian/tests/start-net
+++ /dev/null
@@ -1,29 +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
-sed -i '/localhost/d' /etc/sane.d/saned.conf
-echo localhost >>/etc/sane.d/saned.conf
-
-# Enable pnm
-sed -i 's/^#\(pnm\)$/\1/' /etc/sane.d/dll.conf
-
-# Enable saned.socket
-systemctl enable saned.socket
-
-#
-# test
-#
-CNT=`scanimage -d net -L | grep net: | wc -l`
-
-if [ ${CNT} -eq 2 ] ; then
- exit 0
-else
- exit 100
-fi
-