s3-torture: Comment out dead code in spoolss test.
authorAndreas Schneider <asn@samba.org>
Wed, 4 Dec 2013 13:01:52 +0000 (14:01 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 6 Dec 2013 00:14:09 +0000 (01:14 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/torture/rpc/spoolss.c

index a77673508fa7f50d88eda8e3a7607e989982989e..5fbdbb8ca42db4289bf5ef34481040b574903eab 100644 (file)
@@ -3109,6 +3109,7 @@ static bool test_GetJob_args(struct torture_context *tctx,
        return true;
 }
 
+#if 0
 static bool test_GetJob(struct torture_context *tctx,
                        struct dcerpc_binding_handle *b,
                        struct policy_handle *handle,
@@ -3125,6 +3126,7 @@ static bool test_GetJob(struct torture_context *tctx,
 
        return true;
 }
+#endif
 
 static bool test_SetJob(struct torture_context *tctx,
                        struct dcerpc_binding_handle *b,
@@ -6933,7 +6935,7 @@ static bool test_EnumPrinters_servername(struct torture_context *tctx,
        return true;
 }
 
-
+#if 0
 static bool test_GetPrinterDriver(struct torture_context *tctx,
                                  struct dcerpc_binding_handle *b,
                                  struct policy_handle *handle,
@@ -6968,6 +6970,7 @@ static bool test_GetPrinterDriver(struct torture_context *tctx,
 
        return true;
 }
+#endif
 
 static bool test_GetPrinterDriver2_level(struct torture_context *tctx,
                                         struct dcerpc_binding_handle *b,
@@ -7668,6 +7671,7 @@ static bool compose_local_driver_directory(struct torture_context *tctx,
        return true;
 }
 
+#if 0
 static struct spoolss_DeviceMode *torture_devicemode(TALLOC_CTX *mem_ctx,
                                                     const char *devicename)
 {
@@ -7708,6 +7712,7 @@ static struct spoolss_DeviceMode *torture_devicemode(TALLOC_CTX *mem_ctx,
 
        return r;
 }
+#endif
 
 static bool test_architecture_buffer(struct torture_context *tctx,
                                     void *private_data)
@@ -8039,6 +8044,7 @@ static bool torture_rpc_spoolss_printerexwkn_setup(struct torture_context *tctx,
        return torture_rpc_spoolss_printer_setup_common(tctx, t);
 }
 
+#if 0
 static bool torture_rpc_spoolss_printerdm_setup(struct torture_context *tctx, void **data)
 {
        struct torture_printer_context *t;
@@ -8052,6 +8058,7 @@ static bool torture_rpc_spoolss_printerdm_setup(struct torture_context *tctx, vo
 
        return torture_rpc_spoolss_printer_setup_common(tctx, t);
 }
+#endif
 
 static bool torture_rpc_spoolss_printer_teardown_common(struct torture_context *tctx, struct torture_printer_context *t)
 {