summaryrefslogtreecommitdiff
path: root/debian/tests/start-net
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-15 21:40:39 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-15 21:40:39 +0100
commitbfdf25e7d41b1c4f54578179fefd360393b307fa (patch)
treeaf8ff0fb4e67292ace1e7775a6d6221cec5d71af /debian/tests/start-net
parent78947113fc8982f9ebdc61df3710ed09b14f58ed (diff)
Fix autopkgtest; fix typos
Diffstat (limited to 'debian/tests/start-net')
-rw-r--r--debian/tests/start-net12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/tests/start-net b/debian/tests/start-net
index dbc2c28..4ce08f1 100644
--- a/debian/tests/start-net
+++ b/debian/tests/start-net
@@ -7,23 +7,23 @@ set -ex
# Enable localhost
-sed -i '/localhost/d' /etc/sane.d/saned.conf
+/bin/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
+/bin/sed -i 's/^#\(pnm\)$/\1/' /etc/sane.d/dll.conf
# Enable net @ localhost
-sed -i 's/^# \(localhost\)$/\1/' /etc/sane.d/net.conf
+/bin/sed -i 's/^# \(localhost\)$/\1/' /etc/sane.d/net.conf
# Enable & start saned.socket
-systemctl enable saned.socket
-systemctl start saned.socket
+#/bin/systemctl enable saned.socket
+#/bin/systemctl start saned.socket
#
# test
#
-CNT=`scanimage -d net -L | grep net: | wc -l`
+CNT=`/usr/bin/scanimage -d net -L | /bin/grep net: | /usr/bin/wc -l`
if [ ${CNT} -eq 2 ] ; then
exit 0