btrfs: cleanup tests 004, 007, 022 and 025
authorZhangZhen <zhenzhang.zhang@huawei.com>
Thu, 13 Mar 2014 04:17:44 +0000 (15:17 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 13 Mar 2014 04:17:44 +0000 (15:17 +1100)
commitf7f9492e5c4c65f303342bdad174c743b8fe8937
treecf03b45e8d727802884af534a0313bbd029f0ef5
parent2dd0dbe3f8ce87ce78b30702261f7e8ecf2f8106
btrfs: cleanup tests 004, 007, 022 and 025

As recently suggested by Dave Chinner, make use of the new function
named _run_btrfs_util_prog() to run the btrfs util program.
Filipe David Borba Manana have cleaned up  btrfs/030 and btrfs/034.
I have done the same for the rest ones.

Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/004
tests/btrfs/007
tests/btrfs/022
tests/btrfs/025