6 if [[ "${NO_DOCKER:-0}" == 1 ]]; then
7 echo "SKIP: usb ids because of disabled docker test"
12 echo "Listing usb devices:"
13 sudo podman run -t --privileged --rm=true \
14 -v `pwd`/usb.ids:/usr/share/hwdata/usb.ids:ro \
15 -v "$tmpdir:/mnt/out" \
16 vcrhonek/hwdata-check \
17 /bin/bash -c 'lsusb 2>/mnt/out/err.out; python /usr/share/doc/python-hwdata/example.py 2>>/mnt/out/err.out' || :
18 if [[ `cat $tmpdir/err.out | wc -l` -gt 0 ]]; then