testprogs: print the directory paths as well in spoolss test.
authorGünther Deschner <gd@samba.org>
Fri, 26 Feb 2010 01:50:28 +0000 (02:50 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 26 Feb 2010 10:07:57 +0000 (11:07 +0100)
Guenther

testprogs/win32/spoolss/spoolss.c

index c9a7bc01056509202026429ab17e5b18f2e196a3..38eb7ed7d74fd77919e14aa46666cc57c14f5ff2 100644 (file)
@@ -1073,6 +1073,10 @@ static BOOL test_GetPrintProcessorDirectory(struct torture_context *tctx,
                        }
                }
 
+               if (tctx->print) {
+                       printf("\tPrint Processor Directory\t= %s\n\n", (LPSTR)buffer);
+               }
+
                free(buffer);
                buffer = NULL;
        }
@@ -1120,6 +1124,10 @@ static BOOL test_GetPrinterDriverDirectory(struct torture_context *tctx,
                        }
                }
 
+               if (tctx->print) {
+                       printf("\tPrinter Driver Directory\t= %s\n\n", (LPSTR)buffer);
+               }
+
                free(buffer);
                buffer = NULL;
        }