1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:script: Fix code spelling

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
Andreas Schneider 2023-07-17 15:03:58 +02:00 committed by Andreas Schneider
parent 9826fd4588
commit 18dd3f3dd3
13 changed files with 18 additions and 18 deletions

View File

@ -6,7 +6,7 @@
# -ts8 Set tab size to 8 spaces
# -sob Swallow optional blank lines.
# -l80 Set the maximum line length at 80 characters.
# -ss On one-line for and while statments, force a blank before the semicolon
# -ss On one-line for and while statements, force a blank before the semicolon
# -ncs Do not put a space after cast operators.
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"

View File

@ -24,7 +24,7 @@
/*
* Before calling a backend like smbspool, CUPS will set argv[0] to
* the Device URI. This program wraps a program like smbspool and
* sets argv[0] to the device URI before exec()ing the acutal backend
* sets argv[0] to the device URI before exec()ing the actual backend
* program.
*/

View File

@ -14,7 +14,7 @@ SERVERCONFFILE="$2"
NET="$3"
CONFIGURATION="$4"
# optional protocl, default to NT1
# optional protocol, default to NT1
if [ $# -gt 4 ]; then
PROTOCOL="$5"
else

View File

@ -64,7 +64,7 @@ test_enumerate_no_key()
{
${NETREG} enumerate
if test "x$?" = "x0"; then
echo "ERROR: enumerate succeeded without any key spcified"
echo "ERROR: enumerate succeeded without any key specified"
false
else
true
@ -118,7 +118,7 @@ test_createkey()
EXPECTED="Keyname = ${SUBKEY}"
printf "%s\n" "$OUTPUT" | grep '^Keyname' | grep ${SUBKEY}
if test "x$?" != "x0"; then
echo "ERROR: did not find expexted '$EXPECTED' in output"
echo "ERROR: did not find expected '$EXPECTED' in output"
echo "output:"
printf "%s\n" "$OUTPUT"
false

View File

@ -1,7 +1,7 @@
#!/bin/sh
#
# Runs the smbtorture3 SMB2-SACL test
# that requres SeSecurityPrivilege
# that requires SeSecurityPrivilege
# against Samba.
#

View File

@ -1,7 +1,7 @@
#!/bin/sh
#
# Runs the smbtorture3 SMB1-SYSTEM-SECURITY test
# that requres SeSecurityPrivilege against Samba.
# that requires SeSecurityPrivilege against Samba.
#
if [ $# -lt 7 ]; then

View File

@ -551,7 +551,7 @@ EOF
if [ $ret != 0 ] ; then
echo "$out"
echo "failed deleteing $filename_src with error $ret"
echo "failed deleting $filename_src with error $ret"
return 1
fi
@ -1142,7 +1142,7 @@ EOF
fi
}
# Test creating a stream on the root of the share directory filname - :foobar
# Test creating a stream on the root of the share directory filename - :foobar
test_toplevel_stream()
{
tmpfile=$PREFIX/smbclient_interactive_prompt_commands

View File

@ -1146,7 +1146,7 @@ Run smbclient with C<@args> passed as argument and return output.
Each element of C<@args> becomes one escaped argument of smbclient.
Host, share, user, password and the additionnal arguments provided on
Host, share, user, password and the additional arguments provided on
the command-line are already inserted.
The output contains both the C<STDOUT> and C<STDERR>.
@ -1204,7 +1204,7 @@ Run smbclient with C<@args> passed as argument and return output.
Each element of C<@args> becomes one escaped argument of smbclient.
Host, share, user, password and the additionnal arguments provided on
Host, share, user, password and the additional arguments provided on
the command-line are already inserted.
The output contains both the C<STDOUT> and C<STDERR>.
@ -1498,7 +1498,7 @@ sub attr {
Return DOS attributes as a compact string.
Read-only, hiden, system, archive => "rhsa"
Read-only, hidden, system, archive => "rhsa"
=cut
sub attr_str {

View File

@ -165,7 +165,7 @@ test_tarmode_extraction()
# Extract tarfile with smbclient
if ! $SMBCLIENT //$SERVER/tarmode $CONFIGURATION -U$USERNAME%$PASSWORD -I $SERVER_IP -p 139 \
$ADDARGS -c "tarmode full" -Tx "$PREFIX/tarmode.tar"; then
echo "Couldn't extact tar file with tarmode -Tx"
echo "Couldn't extract tar file with tarmode -Tx"
false
return
fi

View File

@ -223,7 +223,7 @@ def main():
env.smbcquotas = sys.argv[6]
quota_script = os.path.join(os.path.dirname(sys.argv[0]),
"getset_quota.py")
#copy the quota script to the evironment
#copy the quota script to the environment
shutil.copy2(quota_script, env.envdir)
env.quota_db = os.path.join(env.envdir, "quotas.db")

View File

@ -31,7 +31,7 @@ opt="--option=gensec:gse_krb5=yes -U${USERNAME}%${PASSWORD}"
# check kerberos access
test_smbclient "test_krb5" "ls" "//$SERVER/tmp" $opt --use-kerberos=required || failed=$(expr $failed + 1)
# disbale krb5 globally so smbd won't accept it
# disable krb5 globally so smbd won't accept it
global_inject_conf=$(dirname $SMB_CONF_PATH)/global_inject.conf
echo 'gensec:gse_krb5=no' >$global_inject_conf

View File

@ -92,13 +92,13 @@ test_smbspool_authinforequired_unknown()
}
#
# The test enviornment uses 'vlp' (virtual lp) as the printing backend.
# The test environment uses 'vlp' (virtual lp) as the printing backend.
#
# When using the vlp backend the print job is only written to the database.
# The job needs to removed manually using 'vlp lprm' command!
#
# This calls the 'vlp' command to check if the print job has been successfully
# added to the database and also makes sure the temorary print file has been
# added to the database and also makes sure the temporary print file has been
# created.
#
# The function removes the print job from the vlp database if successful.

View File

@ -16,7 +16,7 @@ VFSTEST_PREFIX=vfstest
VFSTEST_TMPDIR=$(mktemp -d ${PREFIX}/${VFSTEST_PREFIX}_XXXXXX)
# We could pass in the --option=... via tests.py as ADDARGS
# Atm i've choosen to specify them here:
# Atm i've chosen to specify them here:
MYARGS1="--option=vfsobjects=catia"
MYARGS2="--option=catia:mappings=0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6,0x20:0xb1"