svn commit: samba r16739 - in branches/SAMBA_4_0/source: script/tests torture/smb2

metze at samba.org metze at samba.org
Sat Jul 1 14:31:20 GMT 2006


Author: metze
Date: 2006-07-01 14:31:20 +0000 (Sat, 01 Jul 2006)
New Revision: 16739

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16739

Log:
test SMB2-GETINFO SMB2-SETINFO by make test

metze
Modified:
   branches/SAMBA_4_0/source/script/tests/test_posix.sh
   branches/SAMBA_4_0/source/torture/smb2/getinfo.c


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_posix.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_posix.sh	2006-07-01 14:27:49 UTC (rev 16738)
+++ branches/SAMBA_4_0/source/script/tests/test_posix.sh	2006-07-01 14:31:20 UTC (rev 16739)
@@ -43,7 +43,7 @@
 raw="$raw RAW-QFILEINFO RAW-QFSINFO RAW-READ RAW-RENAME RAW-SEARCH RAW-SEEK"
 raw="$raw RAW-SFILEINFO RAW-SFILEINFO-BUG RAW-STREAMS RAW-UNLINK RAW-WRITE"
 
-smb2="SMB2-CONNECT"
+smb2="SMB2-CONNECT SMB2-GETINFO SMB2-SETINFO"
 
 tests="$base $raw $smb2"
 

Modified: branches/SAMBA_4_0/source/torture/smb2/getinfo.c
===================================================================
--- branches/SAMBA_4_0/source/torture/smb2/getinfo.c	2006-07-01 14:27:49 UTC (rev 16738)
+++ branches/SAMBA_4_0/source/torture/smb2/getinfo.c	2006-07-01 14:31:20 UTC (rev 16739)
@@ -104,6 +104,9 @@
 			file_levels[i].dinfo.query_secdesc.in.secinfo_flags = 0x7;
 		}
 		if (file_levels[i].level == RAW_FILEINFO_SMB2_ALL_EAS) {
+			if (lp_parm_bool(-1, "target", "samba4", False)) {
+				continue;
+			}
 			file_levels[i].finfo.all_eas.in.continue_flags = 
 				SMB2_CONTINUE_FLAG_RESTART;
 			file_levels[i].dinfo.all_eas.in.continue_flags = 



More information about the samba-cvs mailing list