repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tevent: add test_event_fd1()
[Samba.git]
/
source3
/
script
/
tests
/
test_smbclient_krb5.sh
blob
02117dc33500ece667732336b72c5fbe82581757
1
#!/bin/sh
2
3
if
[
$#
-lt
1
];
then
4
cat
<<EOF
5
Usage: test_smbclient.sh ccache smbclient3 server <smbclient args>
6
EOF
7
exit
1
;
8
fi
9
10
KRB5CCNAME
=
$1
11
export
KRB5CCNAME
12
SMBCLIENT3
=
$2
13
SERVER
=
$3
14
shift
3
15
ADDARGS
=
"$*"
16
17
incdir
=
`dirname
$0
`
/
..
/
..
/
..
/
testprogs
/
blackbox
18
.
$incdir
/
subunit.sh
19
testit
"smbclient"
$VALGRIND $SMBCLIENT3
//
$SERVER
/
tmp
-c
'ls'
-k
$ADDARGS
|| failed
=
`expr
$failed
+ 1`
20
21
testok
$0 $failed