[LU-9395] hostlist_expand is wrongly used to expand simple number range Created: 25/Apr/17 Updated: 25/Apr/17 Resolved: 25/Apr/17 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Emoly Liu | Assignee: | Emoly Liu |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 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]. 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. |
| Comments |
| Comment by Emoly Liu [ 25/Apr/17 ] |
|
Sorry, this is caused by my wrong shell env, not a bug. Close. |