How to set share defaults for test_default_s4?
Andrew Bartlett
abartlet at samba.org
Mon Dec 4 17:30:17 UTC 2017
On Mon, 2017-12-04 at 17:01 +0100, Volker Lendecke via samba-technical
wrote:
> Hi!
>
> I'd like to propose changing the default of aio read/write size to 1.
> I can't get it through autobuild, because it fails in the docs-test:
>
> [2(6)/2216 at 1s] samba.tests.docs
> UNEXPECTED(failure):
> samba.tests.docs.samba.tests.docs.SmbDotConfTests.test_default_s4(none)
> REASON: Exception: Exception: Traceback (most recent call last):
> File "/memdisk/vlendec/W/b2281405/samba/bin/python/samba/tests/docs.py", line 172, in test_default_s4
> self._test_default(['bin/samba-tool', 'testparm'])
> File "/memdisk/vlendec/W/b2281405/samba/bin/python/samba/tests/docs.py", line 206, in _test_default
> "Parameters that do not have matching defaults:"))
> AssertionError: Parameters that do not have matching defaults:
>
> aio read size
> Expected: 1
> Got: 0
> aio write size
> Expected: 1
> Got: 0
>
> How do I set the defaults for the source4-based fileserver?
Those defaults are in lib/param/loadparm.c:loadparm_init()
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list