mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s4:utils: Reformat shell scripts
shfmt -f source4/utils/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org> Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org> Autobuild-Date(master): Fri Jul 8 09:59:19 UTC 2022 on sn-devel-184
This commit is contained in:
parent
beaac6bb2b
commit
c4c086ecc0
@ -11,7 +11,8 @@ TORTURE_OPTIONS=$*
|
||||
|
||||
failed=0
|
||||
|
||||
testit() {
|
||||
testit()
|
||||
{
|
||||
name="$1"
|
||||
shift
|
||||
cmdline="$*"
|
||||
@ -22,7 +23,7 @@ testit() {
|
||||
echo "success: $name"
|
||||
else
|
||||
echo "failure: $name"
|
||||
failed=`expr $failed + 1`
|
||||
failed=$(expr $failed + 1)
|
||||
fi
|
||||
return $status
|
||||
}
|
||||
|
@ -14,7 +14,8 @@ failed=0
|
||||
samba4bindir="$BINDIR"
|
||||
samba_tool="$samba4bindir/samba-tool"
|
||||
|
||||
testit() {
|
||||
testit()
|
||||
{
|
||||
name="$1"
|
||||
shift
|
||||
cmdline="$*"
|
||||
@ -25,7 +26,7 @@ testit() {
|
||||
echo "success: $name"
|
||||
else
|
||||
echo "failure: $name"
|
||||
failed=`expr $failed + 1`
|
||||
failed=$(expr $failed + 1)
|
||||
fi
|
||||
return $status
|
||||
}
|
||||
@ -34,7 +35,7 @@ testit "Test login with --machine-pass without kerberos" $VALGRIND $smbclient -c
|
||||
|
||||
testit "Test login with --machine-pass and kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp --machine-pass -k
|
||||
|
||||
testit "time" $VALGRIND $PYTHON $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
|
||||
testit "time" $VALGRIND $PYTHON $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
|
||||
|
||||
testit "domain level.show" $VALGRIND $PYTHON $samba_tool domain level show
|
||||
|
||||
|
@ -11,7 +11,8 @@ shift 6
|
||||
|
||||
failed=0
|
||||
|
||||
testit() {
|
||||
testit()
|
||||
{
|
||||
name="$1"
|
||||
shift
|
||||
cmdline="$*"
|
||||
@ -22,7 +23,7 @@ testit() {
|
||||
echo "success: $name"
|
||||
else
|
||||
echo "failure: $name"
|
||||
failed=`expr $failed + 1`
|
||||
failed=$(expr $failed + 1)
|
||||
fi
|
||||
return $status
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user