btrfs-progs: tests: do not run sudo helper tests if not necessary
authorDavid Sterba <dsterba@suse.com>
Fri, 23 Oct 2015 09:34:50 +0000 (11:34 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 08:35:06 +0000 (09:35 +0100)
commit1fcb190793b55317463cf1674a3d0bb2f00fe4d7
tree6ba867505238f2c66a84ffcbd1a8ffa120913529
parent6105df64a1a137e2449e735f4ce8c67e07567b29
btrfs-progs: tests: do not run sudo helper tests if not necessary

We use setup_root_helper in some helpers to make sure that the sudo
helper is set up, and adding that to each test. Make the real test run
only once.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/common