Whamcloud - gitweb
LU-9327 test: handle nodes lacking numbers in names for hostlist_expand. 60/26560/3
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 13 Apr 2017 19:54:23 +0000 (15:54 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Apr 2017 03:40:03 +0000 (03:40 +0000)
commit60b6b9712b3a57f38371a93d64cb27f304eba004
treea1d3b6e3b4c28d898ce32a426063ac5aaaedbb9c
parentb4b74ee1ef7a34c56ade16da892091eae28ef498
LU-9327 test: handle nodes lacking numbers in names for hostlist_expand.

Currently hostlist_expand() in test-framework assumes all node names will
contain numbers to sort them by. It is possible to have nodes that instead
are named alphabetical in nature (nodea, nodeb, ...). Handle this additional
case.

Change-Id: I014d7934a869192b3bc1908b4b0d559724d443c9
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/26560
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh