svn commit: samba r5539 - in branches/SAMBA_4_0/source/torture/rpc: .

metze at samba.org metze at samba.org
Thu Feb 24 15:06:31 GMT 2005


Author: metze
Date: 2005-02-24 15:06:30 +0000 (Thu, 24 Feb 2005)
New Revision: 5539

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

Log:
more bad name checks and don't check for \\localhost and \\127.0.0.1
we maybe use this in the build farm

metze

Modified:
   branches/SAMBA_4_0/source/torture/rpc/spoolss.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/spoolss.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/spoolss.c	2005-02-24 14:38:12 UTC (rev 5538)
+++ branches/SAMBA_4_0/source/torture/rpc/spoolss.c	2005-02-24 15:06:30 UTC (rev 5539)
@@ -709,9 +709,10 @@
 	char *name;
 
 	ret &= test_OpenPrinter_badname(p, mem_ctx, "__INVALID_PRINTER__");
-	ret &= test_OpenPrinter_badname(p, mem_ctx, "\\\\127.0.0.1");
-	ret &= test_OpenPrinter_badname(p, mem_ctx, "\\\\localhost");
+	ret &= test_OpenPrinter_badname(p, mem_ctx, "\\\\__INVALID_HOST__");
 	ret &= test_OpenPrinter_badname(p, mem_ctx, "");
+	ret &= test_OpenPrinter_badname(p, mem_ctx, "\\\\\\");
+	ret &= test_OpenPrinter_badname(p, mem_ctx, "\\\\\\__INVALID_PRINTER__");
 
 	name = talloc_asprintf(mem_ctx, "\\\\%s\\", dcerpc_server_name(p));
 	ret &= test_OpenPrinter_badname(p, mem_ctx, name);



More information about the samba-cvs mailing list