File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ if [[ ! -f "$crucible_test" ]] || [[ ! -f "$dsc" ]] || [[ ! -f "$downstairs" ]];
6363fi
6464
6565loops=5
66- region_sets=1
66+ region_sets=${REGION_SETS :- 1}
6767
6868usage () {
6969 echo " Usage: $0 [-l #] [-r #]" >&2
7070 echo " -l loops Number of replacement loops to perform (default 5)" >&2
71- echo " -r region_sets Number of region sets to create (default 1) " >&2
71+ echo ' -r region_sets Number of region sets to create (default 1, or $REGION_SETS) ' >&2
7272}
7373
7474while getopts ' l:r:' opt; do
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ export BINDIR=${BINDIR:-$ROOT/target/release}
1717echo " Nightly starts at $( date) " | tee " $output_file "
1818echo " Running on $( git log -1 --no-color | head -20) " | tee -a " $output_file "
1919echo " " >> " $output_file "
20+ echo " Environment settings are (Some may be unset):" | tee -a " $output_file "
21+ echo " BINDIR is: $BINDIR " | tee -a " $output_file "
22+ echo " REGION_ROOT is: $REGION_ROOT " | tee -a " $output_file "
23+ echo " WORK_ROOT is: $WORK_ROOT " | tee -a " $output_file "
24+ echo " REGION_SETS is: $REGION_SETS " | tee -a " $output_file "
2025echo " $( date) hammer start" >> " $output_file "
2126banner hammer
2227banner loop
@@ -93,7 +98,7 @@ sleep 1
9398banner replace
9499banner special
95100echo " $( date) test_replace_special start" >> " $output_file "
96- ./tools/test_replace_special.sh -l 30
101+ ./tools/test_replace_special.sh -l 50
97102res=$?
98103if [[ " $res " -eq 0 ]]; then
99104 echo " $( date) test_replace_special pass" >> " $output_file "
Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ if [[ ! -f "$crucible_test" ]] || [[ ! -f "$dsc" ]] || [[ ! -f "$downstairs" ]];
5959fi
6060
6161loops=5
62- region_sets=1
62+ region_sets=${REGION_SETS :- 1}
6363
6464usage () {
6565 echo " Usage: $0 [-l #] [-r #]" >&2
6666 echo " -l loops Number of test loops to perform (default 5)" >&2
67- echo " -r region_sets Number of region sets to create (default 1) " >&2
67+ echo ' -r region_sets Number of region sets to create (default 1, or $REGION_SETS) ' >&2
6868}
6969
7070while getopts ' l:r:' opt; do
@@ -149,6 +149,7 @@ ${dsc} cmd shutdown
149149wait " $dsc_pid "
150150
151151echo " $( date) Test ends with $result " | tee -a " $test_log "
152+ echo " copied log"
152153
153154if [[ $result -eq 0 ]]; then
154155 # Cleanup
Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ if [[ ! -f "$crucible_test" ]] || [[ ! -f "$dsc" ]] || [[ ! -f "$downstairs" ]];
5555fi
5656
5757loops=30
58- region_sets=1
58+ region_sets=${REGION_SETS :- 1}
5959
6060usage () {
6161 echo " Usage: $0 [-l #]]" >&2
6262 echo " -l loops Number of times to cause a replay." >&2
63- echo " -r regions Number of region sets to create (default 1) " >&2
63+ echo ' -r regions Number of region sets to create (default 1, or $REGION_SETS) ' >&2
6464}
6565
6666while getopts ' l:r:' opt; do
You can’t perform that action at this time.
0 commit comments