Will Thompson 0083541593 grub-fs-tester: Fix losetup race
If something else on the system is using loopback devices, then the
device that's free at the call to `losetup -f` may not be free in the
following call to try to use it. Instead, find and use the first free
loopback device in a single call to losetup.

Signed-off-by: Will Thompson <wjt@endlessm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2018-06-23 21:39:09 +02:00
..
2018-06-23 21:39:09 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2010-08-19 17:50:05 +05:30
2017-05-03 12:49:31 +02:00
2018-04-10 19:05:04 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2010-05-05 15:34:26 +05:30
2017-05-03 12:49:31 +02:00
2012-06-08 22:54:21 +02:00
2013-04-29 12:25:57 +02:00
2010-09-05 14:57:28 +05:30
2010-05-12 17:46:49 +05:30
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2013-10-26 14:52:54 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00