Rev 11388: Remove known failures file parameters - it's no longer used anyway. in file:///home/jelmer/bzr.samba/SAMBA_4_0/

Jelmer Vernooij jelmer at samba.org
Wed Feb 7 18:01:04 GMT 2007


At file:///home/jelmer/bzr.samba/SAMBA_4_0/

------------------------------------------------------------
revno: 11388
revision-id: jelmer at samba.org-20070207180039-hja2hpupldby94ku
parent: jelmer at samba.org-20070207175747-p9n4fspman7yyrw4
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: SAMBA_4_0
timestamp: Wed 2007-02-07 19:00:39 +0100
message:
  Remove known failures file parameters - it's no longer used anyway.
modified:
  source/torture/smbtorture.c    svn-v2:14520 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-branches%2fSAMBA_4_0-source%2ftorture%2fsmbtorture.c
  source/torture/torture.c       svn-v2:2 at 0c0555d6-39d7-0310-84fc-f1cc0bd64818-trunk-source%2ftorture%2ftorture.c
=== modified file 'source/torture/smbtorture.c'
--- a/source/torture/smbtorture.c	2007-01-30 12:10:42 +0000
+++ b/source/torture/smbtorture.c	2007-02-07 18:00:39 +0000
@@ -583,10 +583,8 @@
 
 	if (strcmp(target, "samba3") == 0) {
 		lp_set_cmdline("torture:samba3", "true");
-		lp_set_cmdline("torture:knownfail", "samba3-knownfail");
 	} else if (strcmp(target, "samba4") == 0) {
 		lp_set_cmdline("torture:samba4", "true");
-		lp_set_cmdline("torture:knownfail", "samba4-knownfail");
 	}
 
 	if (max_runtime) {
@@ -662,8 +660,7 @@
 		exit(1);
 	}
 
-	torture = torture_context_init(talloc_autofree_context(), 
-				lp_parm_string(-1, "torture", "knownfail"), ui_ops);
+	torture = torture_context_init(talloc_autofree_context(), ui_ops);
 
 	if (argc_new == 0) {
 		printf("You must specify a test to run, or 'ALL'\n");

=== modified file 'source/torture/torture.c'
--- a/source/torture/torture.c	2007-01-31 00:30:52 +0000
+++ b/source/torture/torture.c	2007-02-07 18:00:39 +0000
@@ -42,7 +42,6 @@
 }
 
 struct torture_context *torture_context_init(TALLOC_CTX *mem_ctx, 
-											 const char *known_failures_file, 
 											 const struct torture_ui_ops *ui_ops)
 {
 	struct torture_context *torture = talloc_zero(mem_ctx, 



More information about the samba-cvs mailing list