summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-03 16:23:13 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-03 16:31:04 +0100
commit8b408f781970b3f2b310389f9ae73ad0c5e42881 (patch)
treea983f8474e5863e8babc93f03524e0166f41b4ea /source4/client
parent7c72853b50b14653fe3c62fde3bf653b45c755f8 (diff)
downloadsamba-8b408f781970b3f2b310389f9ae73ad0c5e42881.tar.gz
samba-8b408f781970b3f2b310389f9ae73ad0c5e42881.tar.bz2
samba-8b408f781970b3f2b310389f9ae73ad0c5e42881.zip
s4:selftest: avoid hardcoded pathes in blackbox tests
metze
Diffstat (limited to 'source4/client')
-rwxr-xr-xsource4/client/tests/test_cifsdd.sh4
-rwxr-xr-xsource4/client/tests/test_smbclient.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/client/tests/test_cifsdd.sh b/source4/client/tests/test_cifsdd.sh
index 08bfb25e80..2268b6a091 100755
--- a/source4/client/tests/test_cifsdd.sh
+++ b/source4/client/tests/test_cifsdd.sh
@@ -16,8 +16,8 @@ DOMAIN=$4
. `dirname $0`/../../../testprogs/blackbox/subunit.sh
-samba4bindir=`dirname $0`/../../bin
-DD=$samba4bindir/cifsdd
+samba4bindir="$BUILDDIR/bin"
+DD="$samba4bindir/cifsdd$EXEEXT"
SHARE=tmp
DEBUGLEVEL=1
diff --git a/source4/client/tests/test_smbclient.sh b/source4/client/tests/test_smbclient.sh
index 7ff03ba6e2..7775422e33 100755
--- a/source4/client/tests/test_smbclient.sh
+++ b/source4/client/tests/test_smbclient.sh
@@ -18,8 +18,8 @@ PREFIX=$5
shift 5
failed=0
-samba4bindir=`dirname $0`/../../bin
-smbclient=$samba4bindir/smbclient
+samba4bindir="$BUILDDIR/bin"
+smbclient="$samba4bindir/smbclient$EXEEXT"
. `dirname $0`/../../../testprogs/blackbox/subunit.sh