From: brian Date: Wed, 15 Jun 2005 18:45:15 +0000 (+0000) Subject: Ensure that /sbin and /usr/sbin are in the remote $PATH so that sysctl can be X-Git-Tag: v1_7_100~1186 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=941999e8515e1188b2fb45f8027df37c3a2b0693 Ensure that /sbin and /usr/sbin are in the remote $PATH so that sysctl can be found on the remote node. b=6281 --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 0ef25df..c5612e9 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -317,7 +317,7 @@ do_node() { echo "CMD: $HOST $@" $PDSH $HOST $LCTL mark "$@" > /dev/null 2>&1 || : fi - $PDSH $HOST "(PATH=$RLUSTRE/utils:$RLUSTRE/tests:\$PATH; cd $RPWD; sh -c \"$@\")" + $PDSH $HOST "(PATH=$RLUSTRE/utils:$RLUSTRE/tests:/usr/sbin:/sbin:\$PATH; cd $RPWD; sh -c \"$@\")" } mds_list() {