diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:31:32 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-03-30 21:31:32 +0200 |
commit | a7fb2a10d2fd69a71d4bb28b2ef3fa0beb94264c (patch) | |
tree | 58f05092be1a17a939e861f8cadcda1b6ca2ecef /debian/tests/start-net | |
parent | bfdf25e7d41b1c4f54578179fefd360393b307fa (diff) | |
parent | ee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (diff) |
Merge tag 'experimental/1.0.29-1_experimental1' into develop
New upstream release
Diffstat (limited to 'debian/tests/start-net')
-rw-r--r-- | debian/tests/start-net | 33 |
1 files changed, 0 insertions, 33 deletions
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 - |