diff options
author | Steve Muir <muir@fb.com> | 2016-07-27 14:19:37 -0700 |
---|---|---|
committer | Davide Cavalca <dcavalca@fb.com> | 2016-07-29 14:30:39 -0700 |
commit | 40a23924efc64598d580b5fd92ef3937583d1fc9 (patch) | |
tree | cfa2a2c138c0a3995b7cfc7bd01a4733ccef02e7 /src/test/test-firewall-util.c | |
parent | e4d214efc20245c37d9b1e3a7e35c6a4443da131 (diff) |
tests: don't test hostname if it looks like an id128
The condition tests for hostname will fail if hostname looks like an id128.
The test function attempts to convert hostname to an id128, and if that
succeeds compare it to the machine ID (presumably because the 'hostname'
condition test is overloaded to also test machine ID). That will typically
fail, and unfortunately the 'mock' utility generates a random hostname that
happens to have the same format as an id128, thus causing a test failure.
Diffstat (limited to 'src/test/test-firewall-util.c')
0 files changed, 0 insertions, 0 deletions