From: Martin Schwenke Date: Tue, 11 Oct 2016 00:30:37 +0000 (+1100) Subject: ctdb-packaging: Move CTDB tests to /usr/local/share/ctdb/tests/ X-Git-Tag: samba-4.4.9~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a647bb18a5a27ed0e5bc69c45285fda985008f61;p=thirdparty%2Fsamba.git ctdb-packaging: Move CTDB tests to /usr/local/share/ctdb/tests/ In time, other things will end up in /use/local/share/ctdb/. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12104 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs (cherry picked from commit fd8e562069e3c01720be62069b7d58d14c10afd5) Autobuild-User(v4-4-test): Karolin Seeger Autobuild-Date(v4-4-test): Mon Oct 31 14:58:04 CET 2016 on sn-devel-144 --- diff --git a/ctdb/packaging/RPM/ctdb.spec.in b/ctdb/packaging/RPM/ctdb.spec.in index eed4a103700..3df5baf6193 100644 --- a/ctdb/packaging/RPM/ctdb.spec.in +++ b/ctdb/packaging/RPM/ctdb.spec.in @@ -240,8 +240,8 @@ test suite for ctdb %files tests %defattr(-,root,root) -%dir %{_datadir}/%{name}-tests -%{_datadir}/%{name}-tests/* +%dir %{_datadir}/%{name}/tests +%{_datadir}/%{name}/tests/* %dir %{_libexecdir}/%{name}/tests %{_libexecdir}/%{name}/tests/* %{_bindir}/ctdb_run_tests diff --git a/ctdb/wscript b/ctdb/wscript index 43276631134..06d954fcaa4 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -207,7 +207,7 @@ def configure(conf): conf.env.CTDB_RUNDIR)) conf.env.CTDB_TEST_DATADIR = os.path.join(conf.env.EXEC_PREFIX, - 'share/ctdb-tests') + 'share/ctdb/tests') conf.env.CTDB_TEST_LIBEXECDIR = os.path.join(conf.env.LIBEXECDIR, 'ctdb/tests') # Allow unified compilation and separate compilation of utilities