diff options
author | David Sterba <dsterba@suse.com> | 2016-06-03 16:01:51 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-06-03 16:53:27 +0200 |
commit | e5f80994640df9abdb181c6db1513d8de744c73c (patch) | |
tree | ba5db8d8b75559a4d57e51ca661a635006248da4 /tests/convert-tests.sh | |
parent | b5ab8d42b71ce06d9fcfbcc0f65f6c388d6b28f1 (diff) |
btrfs-progs: tests: unify test drivers
Remove unnecessary code, add exports to all common variables.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/convert-tests.sh')
-rwxr-xr-x | tests/convert-tests.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/convert-tests.sh b/tests/convert-tests.sh index c0080b93..064540f1 100755 --- a/tests/convert-tests.sh +++ b/tests/convert-tests.sh @@ -2,10 +2,7 @@ # # convert ext2/3/4 images to btrfs images, and make sure the results are # clean. -# -unset TOP -unset LANG LANG=C SCRIPT_DIR=$(dirname $(readlink -f $0)) TOP=$(readlink -f $SCRIPT_DIR/../) @@ -16,10 +13,11 @@ IMAGE="$TOP/tests/test.img" source $TOP/tests/common source $TOP/tests/common.convert -# Allow child test to use $TOP and $RESULTS export TOP export RESULTS export LANG +export IMAGE +export TEST_DEV rm -f $RESULTS |