]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-packaging: Move CTDB tests to /usr/local/share/ctdb/tests/
authorMartin Schwenke <martin@meltin.net>
Tue, 11 Oct 2016 00:30:37 +0000 (11:30 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 2 Jan 2017 10:56:50 +0000 (11:56 +0100)
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 <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit fd8e562069e3c01720be62069b7d58d14c10afd5)

Autobuild-User(v4-4-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-4-test): Mon Oct 31 14:58:04 CET 2016 on sn-devel-144

ctdb/packaging/RPM/ctdb.spec.in
ctdb/wscript

index eed4a103700f1e8fd62796e32000a59e248d03f6..3df5baf6193b40592c8a83074224c39f7a4c843c 100644 (file)
@@ -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
index 432766311345e93f8efb4181cc10372e37b342aa..06d954fcaa4dcd6753b7952e0d4ad8509b10073e 100755 (executable)
@@ -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