summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 194923a)
raw | patch | inline | side by side (parent: 194923a)
author | Roger Quadros <rogerq@ti.com> | |
Thu, 21 Nov 2013 11:19:58 +0000 (13:19 +0200) | ||
committer | Yan Liu <yan-liu@ti.com> | |
Fri, 3 Jan 2014 03:44:09 +0000 (22:44 -0500) |
ISO test cases were falsely passing all this while as we were
not returning error on a not supported error.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
not returning error on a not supported error.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Yan Liu <yan-liu@ti.com>
testcases/ddt/usb_test_suite/src/testcases/testusb.c | patch | blob | history |
diff --git a/testcases/ddt/usb_test_suite/src/testcases/testusb.c b/testcases/ddt/usb_test_suite/src/testcases/testusb.c
index b3325bcec9f65ec9da8803afb027066a7d0906fd..f6a97377109dddb62b6170429d368b3a6a31e978 100644 (file)
status = usbdev_ioctl (fd, dev->ifnum,
USBTEST_REQUEST, &dev->param);
- if (status < 0 && errno == EOPNOTSUPP)
- continue;
- /* NOTE: each thread emits complete lines; no fragments! */
if (status < 0) {
char buf [80];
int err = errno;
}
printf ("%s test %d --> %d (%s)\n",
dev->name, i, errno, buf);
- ret = errno;
+ ret = -1;
goto exit;
} else
printf ("%s test %d, %4d.%.06d secs\n", dev->name, i,