btrfs-progs: tests: 004-ext2-backup-superblock-ranges, drop unnecessary root privs
authorDavid Sterba <dsterba@suse.com>
Fri, 3 Jun 2016 14:52:57 +0000 (16:52 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 3 Jun 2016 15:01:36 +0000 (17:01 +0200)
commit933de7e03439b3599f493b8baf94a5ea7befccdb
treec1d1b3ab56d476dcb9c83f263e75242d60bedb8c
parente5f80994640df9abdb181c6db1513d8de744c73c
btrfs-progs: tests: 004-ext2-backup-superblock-ranges, drop unnecessary root privs

We really use root only for mount/umount and access to the ext2_saved
image (that has 0600). Also switch to common variable so we can use
helpers.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/convert-tests/004-ext2-backup-superblock-ranges/test.sh