Generated code for tune2fs-l command and RHashtable return type.
[libguestfs.git] / tests.c
diff --git a/tests.c b/tests.c
index 1c6676b..2791145 100644 (file)
--- a/tests.c
+++ b/tests.c
@@ -45,6 +45,14 @@ static void print_strings (char * const * const argv)
     printf ("\t%s\n", argv[argc]);
 }
 
+static void print_table (char * const * const argv)
+{
+  int i;
+
+  for (i = 0; argv[i] != NULL; i += 2)
+    printf ("%s: %s\n", argv[i], argv[i+1]);
+}
+
 static int test_mount_0 (void)
 {
   /* InitEmpty for mount (0) */