Quoting Alec Leamas (2013-02-06 14:43:02)
Hm...I still think having a check that user is able to run mock
commands is
needed. For many users not having correct permissions to run mock creates
subtle errors. So, disabling the test isn't really an option IMHO.
That is not to say that it can't be improved. It would perhaps be better to
test if user could run a simple 'mock --shell "echo foo"' to verify
that mock
permissions are working properly. Or something like that, not requiring a
build.
I've implemented the mock --shell 'echo foo' test in ticket-78-test-fix
branch.
Would be nice if we could verify that is what we want to do. But it seems to
work pretty fine with my testing.
--
Stanislav Ochotnicky <sochotnicky(a)redhat.com>
Software Engineer - Base Operating Systems Brno
PGP: 7B087241
Red Hat Inc.
http://cz.redhat.com