On 11/23/2012 07:08 PM, Petr Muller wrote:
Cool. I'm having trouble with the attached test, though. If I run the
testsuite as non-root, I see a bunch of ERRORs coming out from the
testcase, but the tests actually finish as PASS.
The test PASSes, because the namespace functionality itself works.
The original contents are in fact restored as expected, the errors
are not relevant to this test.
Do we really want it to fail when the tested area works?
The solution itself is otherwise simple - wrap each
rlFile{Backup,Restore} in an assertRun.
Thanks,
Jiri