Details
-
Bug
-
Resolution: Not a Bug
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
hostlist_expand is defined to expand hostlist, e.g. trevis-72vm[2-5,7,9]. But we wrongly use it to expand simple number range (ost indices) in test-framework.sh, e.g. [2-5,7,9].
For example, if you run the following test case in sanity.sh,
test_888() {
echo "test hostlist_expand"
hostlist_expand "[3-7,9,10]"
hostlist_expand "trevis-73vm[3-7,9,10]"
}
run_test 888 "test hostlist_expand"
you will see the output is
== sanity test 888: test hostlist_expand == 16:34:03 (1493109243) test hostlist_expand 4 trevis-73vm3 trevis-73vm4 trevis-73vm5 trevis-73vm6 trevis-73vm7 trevis-73vm9 trevis-73vm10
I will fix it.