diff options
author | Andreas Schneider <asn@samba.org> | 2022-12-22 13:38:27 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-12-23 14:35:31 +0000 |
commit | d891e59088a20b154f2077be6ed186ae3d17cd7e (patch) | |
tree | 98c4c162ce8b65d27916692b32b4349ba892a08a /testprogs | |
parent | c11f1912c955a56d646526f409d0b42542cafa99 (diff) | |
download | samba-d891e59088a20b154f2077be6ed186ae3d17cd7e.tar.gz |
testprogs: Use system_or_builddir_binary() for test_ldb_simple
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/test_ldb_simple.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testprogs/blackbox/test_ldb_simple.sh b/testprogs/blackbox/test_ldb_simple.sh index 433bacdaf5c..5f5f9b8018f 100755 --- a/testprogs/blackbox/test_ldb_simple.sh +++ b/testprogs/blackbox/test_ldb_simple.sh @@ -14,6 +14,7 @@ shift 2 options="$*" . $(dirname $0)/subunit.sh +. "$(dirname "${0}")/common_test_fns.inc" check() { @@ -32,9 +33,7 @@ check() return $status } -export PATH="$BINDIR:$PATH" - -ldbsearch="$VALGRIND ldbsearch" +ldbsearch="${VALGRIND} $(system_or_builddir_binary ldbsearch "${BINDIR}")" check "currentTime" $ldbsearch $CONFIGURATION $options --basedn='' -H $p://$SERVER --scope=base currentTime || failed=$(expr $failed + 1) |