diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-02-15 21:40:39 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-02-15 21:40:39 +0100 |
commit | bfdf25e7d41b1c4f54578179fefd360393b307fa (patch) | |
tree | af8ff0fb4e67292ace1e7775a6d6221cec5d71af /debian/tests | |
parent | 78947113fc8982f9ebdc61df3710ed09b14f58ed (diff) |
Fix autopkgtest; fix typos
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control | 4 | ||||
-rw-r--r-- | debian/tests/start-net | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/debian/tests/control b/debian/tests/control index 0d875a9..af31d1d 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -5,5 +5,5 @@ # 1. start-net # Tests: start-net -Depends: sane-utils -Restrictions: needs-root allow-stderr breaks-testbed +Depends: sane-utils, grep, coreutils +Restrictions: needs-root allow-stderr 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 |