Re: [PATCH 1/2] btrfs-progs: tests, add support for running commands under root

2015-01-19 Thread David Sterba
> > Most of the checks run fine without root, but some of them may need to > > do a mount test or access the data. Add the support to selectively run > > commands under root, hardcoded to sudo for now. > I'm a little worried about using sudo in such test. Opposed to running the whole testsuite as

Re: [PATCH 1/2] btrfs-progs: tests, add support for running commands under root

2015-01-14 Thread Qu Wenruo
Original Message Subject: [PATCH 1/2] btrfs-progs: tests, add support for running commands under root From: David Sterba To: Date: 2015年01月15日 01:25 Most of the checks run fine without root, but some of them may need to do a mount test or access the data. Add the support

[PATCH 1/2] btrfs-progs: tests, add support for running commands under root

2015-01-14 Thread David Sterba
Most of the checks run fine without root, but some of them may need to do a mount test or access the data. Add the support to selectively run commands under root, hardcoded to sudo for now. Signed-off-by: David Sterba --- tests/common | 15 +++ 1 file changed, 15 insertions(+) diff