Whamcloud - gitweb
LU-1661 tests: improve setup_posix_users()
authorYu Jian <yujian@whamcloud.com>
Fri, 24 Aug 2012 13:19:41 +0000 (21:19 +0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 26 Aug 2012 15:26:47 +0000 (11:26 -0400)
commit34a60922e2b94fb35872a9bd6fe3eefa6a95826c
tree3d7906a0c5d5bc0103140eaf64a5e97b0c4a1dc6
parent98fc84a0f0ddcd49d249d375243969269f351c84
LU-1661 tests: improve setup_posix_users()

This patch improves setup_posix_users() in posix.cfg to use
do_rpc_nodes to add groups and users on remote nodes,
so as to simplify add_group() and add_user() and make them
become common functions to be used by other test scripts.

Test-Parameters: clientdistro=el5 testlist=posix
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: Ie07f32dffe7d7ae2037d92bab372977efff2e5fe
Reviewed-on: http://review.whamcloud.com/3770
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/posix/posix.cfg
lustre/tests/test-framework.sh