libusbgx: tests: Fix tests to use correct usbg_state field
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 3 Feb 2015 13:16:42 +0000 (14:16 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 20:45:29 +0000 (21:45 +0100)
commitc3c2223d442b34d86c1da94c3619bdada70814c2
tree3582ad992b33c802839c088bb01c73dc02f1b6b2
parentaaae83f68031b22e0d8b6d2d62c7a1fcd8834066
libusbgx: tests: Fix tests to use correct usbg_state field

Due to recent changes in usbg_state, lets
introduce configfs_path field in state test_state
structure and fill it.

Since now path field should not be filled as it's
filled by prepare_state() function and generates
subsystem path using given configfs path.

Change-Id: I50e606c9f8c5eb478ac48fc453840b9a3efdd117
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
tests/test.c
tests/usbg-test.c
tests/usbg-test.h