]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: support running under non privileged user
authorLoic Dachary <loic@dachary.org>
Tue, 1 Jul 2014 06:42:58 +0000 (08:42 +0200)
committerSage Weil <sage@redhat.com>
Thu, 3 Jul 2014 03:31:31 +0000 (20:31 -0700)
commit2226b91e7dfed6b57793d15e163c29cb466107a8
tree8a7649af914d0615b800c30be19eff0734e2638a
parenta501eb80f4f5114f32563b6d433032621b9608d1
qa: support running under non privileged user

If the test is run against a cluster started with vstart.sh (which is
the case for make check), the --asok-does-not-need-root disables the use
of sudo and allows the test to run without requiring privileged user
permissions.

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 522174b066044e51a7019bd6cad81117e83c394e)
qa/workunits/cephtool/test.sh
src/test/vstart_wrapped_tests.sh