diff options
author | Andreas Schneider <asn@samba.org> | 2022-12-22 13:04:25 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2022-12-23 14:35:31 +0000 |
commit | 4981cb45dbdd6d0059b80f61091c8b97c36abbeb (patch) | |
tree | 97accd4fd605dd81f9b9c0e938431fd59a957253 /testprogs | |
parent | ee11fafcc91bcd24d94e81f449cd5c637ca95823 (diff) | |
download | samba-4981cb45dbdd6d0059b80f61091c8b97c36abbeb.tar.gz |
testprogs: Use system_or_builddir_binary() for demote-saveddb
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/blackbox/demote-saveddb.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testprogs/blackbox/demote-saveddb.sh b/testprogs/blackbox/demote-saveddb.sh index 56ad136f667..3f296336271 100755 --- a/testprogs/blackbox/demote-saveddb.sh +++ b/testprogs/blackbox/demote-saveddb.sh @@ -17,10 +17,7 @@ failed=0 samba_tree_dir="$SRCDIR_ABS/source4/selftest/provisions/multi-dc-samba-master-c596ac6" -samba_tdbrestore="tdbrestore" -if [ -x $BINDIR/tdbrestore ]; then - samba_tdbrestore="$BINDIR/tdbrestore" -fi +samba_tdbrestore=$(system_or_builddir_binary tdbrestore "${BINDIR}") # The undump script and the provision data is not part of release tarballs, # skip the tests in this case! |