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
s4:kdc/db-glue: allow principals in form of computer@EXAMPLE.COM
[Samba.git]
/
source3
/
script
/
tests
/
test_rpcclient.sh
blob
6c293166a2972f93e4cae686ef0d5424ad3ef0b5
1
#!/bin/sh
2
3
if
[
$#
-lt
1
];
then
4
cat
<<EOF
5
Usage: test_rpcclient.sh ccache binding <rpcclient commands>
6
EOF
7
exit
1
;
8
fi
9
10
KRB5CCNAME
=
$1
11
shift
1
12
export
KRB5CCNAME
13
ADDARGS
=
"$*"
14
15
incdir
=
`dirname
$0
`
/
..
/
..
/
..
/
testprogs
/
blackbox
16
.
$incdir
/
subunit.sh
17
testit
"rpcclient"
$VALGRIND $BINDIR
/
rpcclient
-c
'getusername'
$ADDARGS
|| failed
=
`expr
$failed
+ 1`
18
19
testok
$0 $failed