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

Martin Kühl martin.kuehl at gmail.com
Thu Aug 17 20:03:07 GMT 2006

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-quotes.patch
Type: text/x-patch
Size: 862 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060817/ffa36498/test-quotes.bin

More information about the samba-technical mailing list