Source: sane-backends

Hi,

I'm preparing a stretch LTS update for sane-backends and it seems 
debian/tests/start-net does not work as intended.

I think the expected output is like:
+ scanimage -d net -L
device `pnm:0' is a Noname PNM file reader virtual device
device `pnm:1' is a Noname PNM file reader virtual device

but due to grepping ':net' those line are not counted, and the test fails.
CNT=`scanimage -d net -L | grep net: | wc -l`

Grepping ':pnm' fixes the test:
CNT=`scanimage -d net -L | grep pnm: | wc -l`

Was that the intended use?

Cheers!
Sylvain Beucler
Debian LTS Team

Reply via email to