File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,12 @@ if [[ ! -f "$crucible_test" ]] || [[ ! -f "$dsc" ]] || [[ ! -f "$downstairs" ]];
63
63
fi
64
64
65
65
loops=5
66
- region_sets=1
66
+ region_sets=${REGION_SETS :- 1}
67
67
68
68
usage () {
69
69
echo " Usage: $0 [-l #] [-r #]" >&2
70
70
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
72
72
}
73
73
74
74
while 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}
17
17
echo " Nightly starts at $( date) " | tee " $output_file "
18
18
echo " Running on $( git log -1 --no-color | head -20) " | tee -a " $output_file "
19
19
echo " " >> " $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 "
20
25
echo " $( date) hammer start" >> " $output_file "
21
26
banner hammer
22
27
banner loop
@@ -93,7 +98,7 @@ sleep 1
93
98
banner replace
94
99
banner special
95
100
echo " $( date) test_replace_special start" >> " $output_file "
96
- ./tools/test_replace_special.sh -l 30
101
+ ./tools/test_replace_special.sh -l 50
97
102
res=$?
98
103
if [[ " $res " -eq 0 ]]; then
99
104
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" ]];
59
59
fi
60
60
61
61
loops=5
62
- region_sets=1
62
+ region_sets=${REGION_SETS :- 1}
63
63
64
64
usage () {
65
65
echo " Usage: $0 [-l #] [-r #]" >&2
66
66
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
68
68
}
69
69
70
70
while getopts ' l:r:' opt; do
@@ -149,6 +149,7 @@ ${dsc} cmd shutdown
149
149
wait " $dsc_pid "
150
150
151
151
echo " $( date) Test ends with $result " | tee -a " $test_log "
152
+ echo " copied log"
152
153
153
154
if [[ $result -eq 0 ]]; then
154
155
# Cleanup
Original file line number Diff line number Diff line change @@ -55,12 +55,12 @@ if [[ ! -f "$crucible_test" ]] || [[ ! -f "$dsc" ]] || [[ ! -f "$downstairs" ]];
55
55
fi
56
56
57
57
loops=30
58
- region_sets=1
58
+ region_sets=${REGION_SETS :- 1}
59
59
60
60
usage () {
61
61
echo " Usage: $0 [-l #]]" >&2
62
62
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
64
64
}
65
65
66
66
while getopts ' l:r:' opt; do
You can’t perform that action at this time.
0 commit comments