root tests: Set NON_ROOT_USERNAME if not set already.
authorJim Meyering <meyering@redhat.com>
Tue, 1 Apr 2008 14:13:02 +0000 (16:13 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 1 Apr 2008 14:13:02 +0000 (16:13 +0200)
commit504fa74e243cd258b649b3a436cf14b6d91faf91
treec05ae98ffe0cedd3b71ea6b9eea9522478b502f5
parent157ff3506e35a95fedcc18bd4fd6b58df0d3f544
root tests: Set NON_ROOT_USERNAME if not set already.

* tests/test-lib.sh (require_root_): This avoids failure of a
couple of root-only tests that require a value for that envvar.
tests/test-lib.sh