Remove (some) bashisms from the test scripts

Christof Schmitt cs at samba.org
Mon Dec 25 03:07:18 UTC 2017


On Sat, Dec 23, 2017 at 09:38:06PM +0200, Uri Simchoni via samba-technical wrote:

> Other than that:
> Just to make things clear - the Samba test suite policy has always been
> not to assume that /bin/sh is bash. On the build server, /bin/sh is
> dash. It appears the "bashisms" you pointed out never execute during
> selftest (which means we don't have tests for adding/removing/modifying
> shares via RPC...).

We do have tests for share management through RPC calls, see
the test in source3/script/tests/test_rpcclientsrvsvc.sh. If there are
bashisms, then it looks like they are no problem with Debian's dash, but
mainly with FreeBSD.

Christof



More information about the samba-technical mailing list