Wykres commitów

3 Commity (4962b35abd7426b7b51a00d907a538a2a38dc859)

Autor SHA1 Wiadomość Data
Chris Bagwell af10791227 Improve libusb's error code for permission issues.
libusb on my Linux box is returning EACCES error when invalid
permissions exist.  Modify open to translate that into
SANE_STATUS_ECCESS_DENIED since that error description is
used for this case.

Modify sanei_usb_test.c to not treat access denied or busy
error codes as real failures since its expected to occur on
boxes that USB device is already claimed by another driver
and if that device uses default root only permissions.
2013-08-26 21:21:20 -05:00
Chris Bagwell 43da1e64c1 Add fake names to fake devices
strcmp() does not protect against NULL pointers and is
crashing on at least OS X for the fake devices we are creating
by setting device_number to MAX value.

Add a fake empty string to prevent this.
2013-08-16 13:10:32 -05:00
Stéphane Voltz 8b3674a516 add testsuite/sanei for sanei test programs
- add sanei_usb_test to test sanei_usb functions
 - update SUBDIRS so the check target is ran on testsuite/sanei
2013-03-24 14:50:17 +01:00