summaryrefslogtreecommitdiff
path: root/debian/tests/start-net
diff options
context:
space:
mode:
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