Remove (some) bashisms from the test scripts

Timur I. Bakeyev timur at freebsd.org
Fri Dec 22 01:58:27 UTC 2017


Yet another fixes to make self-test work out of the box on FreeBSD.

Despite having '#!/bin/sh' in the test shell scripts there are some
bashisms present,
that make FreeBSD sh croak.

I've run Debian's 'checkbashisms' script against test scripts and tried to
address most of it's (reasonable) warnings.

Also, one failing test spotted the place where direct call to the
'ldbsearch' wasn't replaced with the configurable path.

With best regards,
Timur Bakeyev.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-some-bashisms-from-the-test-scripts.patch
Type: application/octet-stream
Size: 5597 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171222/46279046/0001-Remove-some-bashisms-from-the-test-scripts.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-incorrect-ldbsearch-invocation.patch
Type: application/octet-stream
Size: 1501 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171222/46279046/0002-Fix-incorrect-ldbsearch-invocation.obj>


More information about the samba-technical mailing list