commit | 4b1b9dff58edf8f0034c7038ae787b63d1d42600 | [log] [tgz] |
---|---|---|
author | zhufl <zhu.fanglei@zte.com.cn> | Tue Mar 13 16:02:50 2018 +0800 |
committer | zhufl <zhu.fanglei@zte.com.cn> | Mon Mar 19 09:48:42 2018 +0800 |
tree | 8a996e47eb2987babc1f157a8e936545b695490d | |
parent | 1525e67d7ba86422374d3654e86ed732490f48d8 [diff] |
Fix test_host_name_is_same_as_server_name Some images will add postfix for the hostname, e.g., if hostname is "aaa", postfix ".novalocal" may be added to it, and the hostname will be "aaa.novalocal" then, so we should ignore the postfix when checking whether hostname equals self.name. Change-Id: Ie3d603875c029ca705ee58e0f4e9d11950f509aa Closes-Bug: #1755398