android: libltp: add new variant for loopback block device paths
PATCH 1/1 android: libltp: add new variant for loopback block device paths
Android systems put loopback devices at "/dev/block/loopX", add that variant in libltp so they can be found by the tests that need them.
E.g. of test getting fixed by this on Android, syscalls.ioctol05
Signed-off-by Sandeep Patil <[email protected]>
--- lib/tst_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
lib/tst_device.c +2 -1
@@ -48,7 +48,8 @@ static int device_acquired;static const char *dev_variants[] = {"/dev/loop%i" , -"/dev/loop/%i" +"/dev/loop/%i" , +"/dev/block/loop%i" };static int set_dev_path (int dev)
Signature · 1 line
2.14.1.581.gf28d330327-goog
PATCH 1/1 android: libltp: add new variant for loopback block device paths
Hi!
Pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]