summaryrefslogtreecommitdiff
path: root/debian/tests/start-net
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /debian/tests/start-net
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'debian/tests/start-net')
-rw-r--r--debian/tests/start-net29
1 files changed, 0 insertions, 29 deletions
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
-