5 LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)}
6 . $LUSTRE/tests/test-framework.sh
8 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
12 ALWAYS_EXCEPT="$PARALLEL_SCALE_EXCEPT"
15 MACHINEFILE=${MACHINEFILE:-$TMP/$(basename $0 .sh).machines}
16 clients=${CLIENTS:-$HOSTNAME}
17 generate_machine_file $clients $MACHINEFILE || \
18 error "Failed to generate machine file"
19 num_clients=$(get_node_count ${clients//,/ })
22 if [ "$SLOW" = "no" ]; then
28 [ "$SLOW" = "no" ] && mbench_NFILES=10000
31 [ "$SLOW" = "no" ] && simul_REP=2
34 [ "$SLOW" = "no" ] && cnt_NRUN=2
37 [ "$SLOW" = "no" ] && casc_REP=10
40 [ "$SLOW" = "no" ] && ior_DURATION=5
42 # write_append_truncate
43 [ "$SLOW" = "no" ] && write_REP=100
46 [ "$SLOW" = "no" ] && wdisjoint_REP=100
48 . $LUSTRE/tests/functions.sh
51 check_and_setup_lustre
56 run_test compilebench "compilebench"
61 run_test metabench "metabench"
66 run_test simul "simul"
71 run_test mdtestssf "mdtestssf"
76 run_test mdtestfpp "mdtestfpp"
81 run_test connectathon "connectathon"
86 run_test iorssf "iorssf"
91 run_test iorfpp "iorfpp"
101 run_test cascading_rw "cascading_rw"
103 test_write_append_truncate() {
104 run_write_append_truncate
106 run_test write_append_truncate "write_append_truncate"
108 test_write_disjoint() {
111 run_test write_disjoint "write_disjoint"
113 test_parallel_grouplock() {
114 run_parallel_grouplock
116 run_test parallel_grouplock "parallel_grouplock"
118 complete $(basename $0) $SECONDS
119 check_and_cleanup_lustre