]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: btrfs/276 - stop all fsstress before exiting
authorEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2013 05:29:21 +0000 (05:29 +0000)
committerRich Johnston <rjohnston@sgi.com>
Fri, 3 May 2013 15:01:20 +0000 (10:01 -0500)
commit0b5677123b5d8c0a29b45f55c7b981aeeca9b2c8
tree61848fe149ccd61ee3ad65b639667bd0037bb05b
parentf9e301572071dbde0f1bba348a08b3ffd4fca758
xfstests: btrfs/276 - stop all fsstress before exiting

Tests after 276 were failing because the background fsstress
hadn't quit prior to exit, devices couldn't be unmounted, etc.

Just use the same trick as generic/068 does, and use
a tmpfile to control whether the background loop keeps
running.

Also, no need to umount scratch at cleanup time, the scripts
do that for us.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Jan Schmidt list.xfs@jan-o-sch.net
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/btrfs/276
tests/btrfs/276.out