1 . $LUSTRE/tests/cfg/local.sh
3 # For multiple clients testing, we need use the cfg/ncli.sh config file, and
4 # only need specify the "RCLIENTS" variable. The "CLIENTS" and "CLIENTCOUNT"
5 # variables are defined in init_clients_lists(), called from cfg/ncli.sh.
6 RCLIENTS=${RCLIENTS:-""}
10 [ -n "$RCLIENTS" -a "$PDSH" = "no_dsh" ] &&
11 error "tests for remote clients $RCLIENTS needs pdsh != do_dsh " || true
13 [ -n "$FUNCTIONS" ] && . $FUNCTIONS || true
15 # for recovery scale tests
16 # default boulder cluster iozone location
17 export PATH=/opt/iozone/bin:$PATH
19 LOADS=${LOADS:-"dd tar dbench iozone"}
21 [ -f $LUSTRE/tests/run_${i}.sh ] || error "incorrect load: $i"
25 # This is used when testing on SLURM environment.
26 # Test will use srun when SRUN_PARTITION is set
27 SRUN=${SRUN:-$(which srun 2>/dev/null || true)}
28 SRUN_PARTITION=${SRUN_PARTITION:-""}
29 SRUN_OPTIONS=${SRUN_OPTIONS:-"-W 1800 -l -O"}