s3: Add support for make test to use a share dir outside of the prefix dir
authorTim Prouty <tprouty@samba.org>
Wed, 12 Nov 2008 02:46:21 +0000 (18:46 -0800)
committerTim Prouty <tprouty@samba.org>
Wed, 12 Nov 2008 03:06:50 +0000 (19:06 -0800)
commite6f8fd994567f85efd88b56e438816ee337f4f6e
tree1c0bb4b09144f3e49a16b58181041e160d408dfb
parentc62427c7fc7fd9c2c33faa25e931d4583bea905a
s3: Add support for make test to use a share dir outside of the prefix dir

Some systems need to have the tdbs (and other files required for samba
to run) on a different filesystem than the share directory that samba
is exporting.

This patch:
- Adds an optional "shrdir" argument to selftest.sh
  - If shrdir is specified it will be used, otherwise the default
    will be used: "<prefix>/tmp"
- Adds a new configure option: --with-selftest-shrdir
- Plumbs shrdir through Makefile.in and configure.in
source3/Makefile.in
source3/m4/check_path.m4
source3/script/tests/selftest.sh