libusbgx: tests: Add proper path comparing
authorPawel Szewczyk <p.szewczyk@samsung.com>
Wed, 7 Jan 2015 15:53:06 +0000 (16:53 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 20:45:29 +0000 (21:45 +0100)
commite0a99b58de1805089812790f4199cd80ec1c38d9
treead81827a4d17970248a20a2fc05452c8ca56b54b
parentc3c2223d442b34d86c1da94c3619bdada70814c2
libusbgx: tests: Add proper path comparing

Multiple slashes are allowed in paths, so they cannot be compared as
simple strings.

Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>
Fix some code style issue. Move expect_path() macro
to heder file.

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