summaryrefslogtreecommitdiffstats
path: root/source3/script
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2013-07-14 15:22:36 +0200
committerJim McDonough <jmcd@samba.org>2013-11-05 08:42:41 -0500
commite879580f1cfd73fa62036316485cd30d011b8392 (patch)
treeb3baacc0a6899223b99f0dbb68bf61f13e674fec /source3/script
parentbfd6b7bf096b1c29890e0c83ac9db90118191690 (diff)
downloadsamba-e879580f1cfd73fa62036316485cd30d011b8392.tar.gz
samba-e879580f1cfd73fa62036316485cd30d011b8392.tar.xz
samba-e879580f1cfd73fa62036316485cd30d011b8392.zip
test_smbclient_tarmode.pl: fix a few minor typos
Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/tests/test_smbclient_tarmode.pl14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/script/tests/test_smbclient_tarmode.pl b/source3/script/tests/test_smbclient_tarmode.pl
index d0cbf72b860..6d09e1e4689 100755
--- a/source3/script/tests/test_smbclient_tarmode.pl
+++ b/source3/script/tests/test_smbclient_tarmode.pl
@@ -188,7 +188,7 @@ else {
=item * Create a function C<test_yourtest>
-=item * Usa the File module, documented below
+=item * Use the File module, documented below
=item * Use C<smb_tar>, C<smb_client>, C<check_tar> or C<check_remote>
@@ -239,7 +239,7 @@ sub test_creation_attr {
my $f = File->new_remote("file-n.txt");
push @all, $f;
- # combinaisions of attributes
+ # combinations of attributes
for my $n (1..@attr) {
for(combine(\@attr, $n)) {
my @t = @$_;
@@ -320,7 +320,7 @@ sub test_creation_incremental {
for(1..$n) {
my $f = File->new_remote("file-$_");
- # set achive bit on ~half of them
+ # set archive bit on ~half of them
if($_ < $n/2) {
$f->set_attr('a');
push @files, $f;
@@ -623,7 +623,7 @@ sub print_res {
=head3 C<combine ( ['a', 'b', 'c'], 2 )>
-Return a list of all possible I<n>-uplet (or combinaison of C<$n> element) of C<@set>.
+Return a list of all possible I<n>-uplet (or combination of C<$n> element) of C<@set>.
=cut
sub combine {
@@ -907,7 +907,7 @@ sub smb_tar {
=head3 C<random( $min, $max )>
-Return integer in C<[ $min ; $max [>
+Return integer in C<[ $min ; $max ]>
=cut
sub random {
@@ -1220,7 +1220,7 @@ sub DESTROY {
Iterate on file hierachy in C<@files> and return accumulated results.
-Use C<$_ in> the sub to access the current C<File>.
+Use C<$_> in the sub to access the current C<File>.
The C<@files> must come from a call to the C<File::tree> function.
@@ -1266,7 +1266,7 @@ sub list {
'size' => int($size),
'date' => $date,
'attr' => {
- # list context returns somehting different than the
+ # list context returns something different than the
# boolean matching result => force scalar context
'a' => scalar ($attr =~ /A/),
'h' => scalar ($attr =~ /H/),