Whamcloud - gitweb
LU-421 include lustre/BUIDING in dist tarball
[fs/lustre-release.git] / lustre / tests / cfg / ncli.sh
1 . $LUSTRE/tests/cfg/local.sh
2
3 CLIENT1=${CLIENT1:-`hostname`}
4 SINGLECLIENT=$CLIENT1
5 RCLIENTS=${RCLIENTS:-""}
6
7 init_clients_lists
8
9 [ -n "$RCLIENTS" -a "$PDSH" = "no_dsh" ] && \
10                 error "tests for remote clients $RCLIENTS needs pdsh != do_dsh " || true
11
12 [ -n "$FUNCTIONS" ] && . $FUNCTIONS || true
13
14 # for recovery scale tests
15 # default boulder cluster iozone location
16 export PATH=/opt/iozone/bin:$PATH
17 SHARED_DIRECTORY=${SHARED_DIRECTORY:-""}        # bug 17839 comment 65
18 LOADS=${LOADS:-"dd tar dbench iozone"}
19 for i in $LOADS; do
20     [ -f $LUSTRE/tests/run_${i}.sh ] || \
21         error "incorrect load: $i"
22 done
23 CLIENT_LOADS=($LOADS)