[SAMBA4][PATCH] Append trailing slash to pathname arguments to ejs test suites

simo idra at samba.org
Thu Aug 17 20:21:45 GMT 2006

I fixed the scripts instead of fixing the callers.
Thanks for pointing this out.


On Thu, 2006-08-17 at 22:03 +0200, Martin Kühl wrote:
> While extending the samba3sam test suite I noticed that the `prefix'
> argument passed to both the ldb and samba3sam test suite is used as a
> pathname to which a filename is attached, but doesn't end in a slash,
> leading to filenames of, say, "~/src/samba4/sourcetest.ldb" instead of
> the (probably intended) ""~/src/samba4/source/test.ldb".
> The attached patch passes an additional trailing slash on the first
> argument to the test suites from test_ejs.sh to prevent this.
> It also wraps all pathname arguments in quotes to prevent errors due
> to spaces in them.
> Cheers,
> Martin
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org

More information about the samba-technical mailing list