OSDN Git Service

tests: root-only test would fail to remove its loop device
authorJim Meyering <meyering@redhat.com>
Mon, 9 Jan 2012 14:29:45 +0000 (15:29 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Jan 2012 14:29:45 +0000 (15:29 +0100)
commitb81cf3d3d63c5aaf7422ff689fd665b694351f47
tree25613eb7ec9b0c423c85c7d6a5bba84f6329e908
parent74a139ab42bb40f00d5196789d1646494f154967
tests: root-only test would fail to remove its loop device

* tests/t8001-loop-blkpg.sh: Ironically, when skipping this test,
there was a race condition where in more than 7 out of 10 trials,
this test's "losetup -d $dev" command would fail with "device in use".
Hence, with enough testing, I would eventually use up all loop devices
and start getting new test failures due to losetup *creation* failure.
tests/t8001-loop-blkpg.sh