Whamcloud - gitweb
LU-1471 tests: check rpcidmapd service in setup-nfs.sh
authorYu Jian <yujian@whamcloud.com>
Mon, 16 Jul 2012 03:40:05 +0000 (11:40 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 23 Jul 2012 23:14:05 +0000 (19:14 -0400)
commitff6994ecfeaf206f259fc2de2393b89e28140fc0
tree292cce0e4f6f523095eeb1e44050e34cfdc15bfe
parentc90c9d4f26cf7223ff73f8cf82f7aa33bb6d9a54
LU-1471 tests: check rpcidmapd service in setup-nfs.sh

The rpcidmapd system service is not in SLES11 distro, which
caused "service: no such service rpcidmapd" error while running
setup-nfs.sh. This patch fixes the above issue by checking the
service before restarting or stopping it.

Test-Parameters: testlist=parallel-scale-nfsv3,parallel-scale-nfsv4
Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I0571d9ce3850fda246c1cd43b6c9019de30398e1
Reviewed-on: http://review.whamcloud.com/3400
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/setup-nfs.sh