diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-03 16:23:13 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-03 16:31:04 +0100 |
commit | 8b408f781970b3f2b310389f9ae73ad0c5e42881 (patch) | |
tree | a983f8474e5863e8babc93f03524e0166f41b4ea /source4/utils/tests/test_net.sh | |
parent | 7c72853b50b14653fe3c62fde3bf653b45c755f8 (diff) | |
download | samba-8b408f781970b3f2b310389f9ae73ad0c5e42881.tar.gz samba-8b408f781970b3f2b310389f9ae73ad0c5e42881.tar.bz2 samba-8b408f781970b3f2b310389f9ae73ad0c5e42881.zip |
s4:selftest: avoid hardcoded pathes in blackbox tests
metze
Diffstat (limited to 'source4/utils/tests/test_net.sh')
-rwxr-xr-x | source4/utils/tests/test_net.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/utils/tests/test_net.sh b/source4/utils/tests/test_net.sh index 3406c87cda..eb598bf5e1 100755 --- a/source4/utils/tests/test_net.sh +++ b/source4/utils/tests/test_net.sh @@ -9,8 +9,9 @@ shift 4 failed=0 -samba4bindir=`dirname $0`/../../bin -smbclient=$samba4bindir/smbclient +samba4bindir="$BUILDDIR/bin" +smbclient="$samba4bindir/smbclient$EXEEXT" +net="$samba4bindir/net$EXEEXT" testit() { name="$1" @@ -28,7 +29,7 @@ testit() { return $status } -testit "domain join" $VALGRIND bin/net join $DOMAIN $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1` +testit "domain join" $VALGRIND $net join $DOMAIN $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1` testit "Test login with --machine-pass without kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp --machine-pass -k no || failed=`expr $failed + 1` |