diff options
author | Tim Prouty <tprouty@samba.org> | 2008-11-11 18:46:21 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-11-11 19:06:50 -0800 |
commit | e6f8fd994567f85efd88b56e438816ee337f4f6e (patch) | |
tree | 1c0bb4b09144f3e49a16b58181041e160d408dfb /source3/Makefile.in | |
parent | c62427c7fc7fd9c2c33faa25e931d4583bea905a (diff) | |
download | samba-e6f8fd994567f85efd88b56e438816ee337f4f6e.tar.gz samba-e6f8fd994567f85efd88b56e438816ee337f4f6e.tar.bz2 samba-e6f8fd994567f85efd88b56e438816ee337f4f6e.zip |
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
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r-- | source3/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index c048e193a6..6e40ba404a 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -17,6 +17,7 @@ localstatedir=@localstatedir@ datarootdir=@datarootdir@ selftest_prefix=@selftest_prefix@ +selftest_shrdir=@selftest_shrdir@ smbtorture4_path=@smbtorture4_path@ LIBS=@LIBS@ @@ -2846,7 +2847,7 @@ test_pam_modules:: pam_modules ## test:: all torture timelimit @echo Running Test suite - @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all "${smbtorture4_path}" + @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all "${smbtorture4_path}" ${selftest_shrdir} valgrindtest:: all torture timelimit @echo Running Test suite with valgrind |