testprogs: print form info levels in EnumForms(),GetForm() spoolss tests.
[ira/wip.git] / testprogs / win32 / spoolss / spoolss.c
index c74fb2066a934b0947a79b981e3d8c4dcd223e8f..ac3a3138435bd554574cd32fe48d204b51d64235 100644 (file)
@@ -209,6 +209,10 @@ static BOOL test_GetForm(struct torture_context *tctx,
                        }
                }
 
+               if (tctx->print) {
+                       print_form_info_bylevel(levels[i], buffer, 1);
+               }
+
                free(buffer);
                buffer = NULL;
        }
@@ -257,6 +261,10 @@ static BOOL test_EnumForms(struct torture_context *tctx,
                        }
                }
 
+               if (tctx->print) {
+                       print_form_info_bylevel(levels[i], buffer, returned);
+               }
+
                free(buffer);
                buffer = NULL;
        }