1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-11 08:23:49 +03:00

selftest: use 10.53.57.0/8 instead of 127.0.0.1/8

This makes our testing much more realistic and allows
the removal of some knowfail entries.

It also means the testing with network namespaces on Linux
can use the same addresses as our socket wrapper testing.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher
2019-01-23 22:29:19 +01:00
committed by Andreas Schneider
parent 83f6ff9006
commit 05d3a909d5
10 changed files with 23 additions and 32 deletions

View File

@@ -98,7 +98,7 @@ class LoadParmTestCase(samba.tests.TestCaseInTempDir):
'global',
self.tempf))
content = open(self.tempf, 'r').read()
self.assertIn('127.0.0.', content)
self.assertIn('10.53.57.', content)
def test_samdb_url(self):
samba_lp = param.LoadParm()