git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7684c48
)
tests: test_wrap needs to set TEST_BIN_DIR when installed
author
Martin Schwenke
<martin@meltin.net>
Tue, 22 May 2012 01:24:05 +0000
(11:24 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Fri, 25 May 2012 04:47:45 +0000
(14:47 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
tests/INSTALL
patch
|
blob
|
history
diff --git
a/tests/INSTALL
b/tests/INSTALL
index c67d76dc7d6ae468d98828b764e12d01dab01390..8c3f777ea4e72e70e919abdb14f0152054d0bbb6 100755
(executable)
--- a/
tests/INSTALL
+++ b/
tests/INSTALL
@@
-74,6
+74,8
@@
done
for i in "events.d" "functions" ; do
ln -sf "${etcdir}/ctdb/${i}" "${ctdb_datadir}/eventscripts/etc-ctdb/${i}"
done
+# test_wrap needs to set TEST_BIN_DIR
+sed -i -e "s@^TEST_SCRIPTS_DIR=.*@&\nexport TEST_BIN_DIR=\"${libdir}/ctdb-tests\"@" "${ctdb_datadir}/scripts/test_wrap"
ctdb_libdir="${destdir}${libdir}/ctdb-tests"
mkdir -p "${destdir}${libdir}"