newdevice: detect more devices as Comware (#6386)

* newdevice: improve comware detection
Only some H3C Comware devices were detected as comware, detect them all.

* Update the test data

FYI, C1234 was just a nonsense string
This commit is contained in:
Tony Murray
2017-04-13 04:52:07 -05:00
committed by Neil Lathwood
parent d44d23dba6
commit e005f78211
7 changed files with 31 additions and 9 deletions

View File

@@ -467,7 +467,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
{
$this->checkOS('comware');
$this->checkOS('comware', 'comware1');
$this->checkOS('comware', 'comware-hp-c1234');
$this->checkOS('comware', 'comware-h3c');
}
public function testCoriant()