summaryrefslogtreecommitdiffstats
path: root/source3/script
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2013-07-15 19:04:43 +0200
committerJim McDonough <jmcd@samba.org>2013-11-05 08:42:41 -0500
commit98fa4bc03e52368d3542ceb408a26af54f815989 (patch)
treea36fb098dc088fd9649b9f815e5c495f5ddfefca /source3/script
parent03e155772877d03b9cde8a54fcd8492231cb2b77 (diff)
downloadsamba-98fa4bc03e52368d3542ceb408a26af54f815989.tar.gz
samba-98fa4bc03e52368d3542ceb408a26af54f815989.tar.xz
samba-98fa4bc03e52368d3542ceb408a26af54f815989.zip
test_smbclient_tarmode.pl: samba 3.6.9 can print a empty attribute string
While changing my setup, I discovered that for some unknown reasons samba (serv/client) doesn't print any attributes for normal files. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-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.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/tests/test_smbclient_tarmode.pl b/source3/script/tests/test_smbclient_tarmode.pl
index 6fa1ae885af..a5b061ec10a 100755
--- a/source3/script/tests/test_smbclient_tarmode.pl
+++ b/source3/script/tests/test_smbclient_tarmode.pl
@@ -1260,7 +1260,7 @@ sub list {
my $out = main::smb_client('-D', $path, '-c', 'ls');
for(split /\n/, $out) {
- next if !/^ (.+?)\s+([AHSRDN]+)\s+(\d+)\s+(.+)/o;
+ next if !/^ (.+?)\s+([AHSRDN]*)\s+(\d+)\s+(.+)/o;
my ($fn, $attr, $size, $date) = ($1, $2, $3, $4);
next if $fn =~ /^\.{1,2}$/;