[Libosinfo] [PATCH] freedos: add freedos 1.2 test data

Christophe Fergeau cfergeau at redhat.com
Wed Feb 14 12:33:39 UTC 2018


On Wed, Feb 14, 2018 at 12:23:51PM +0100, Christophe Fergeau wrote:
> 
> Acked-by: Christophe Fergeau <cfergeau at redhat.com>

Actually, this was missing
diff --git a/tests/test-isodetect.c b/tests/test-isodetect.c
index 1f6e5504..56dfb440 100644
--- a/tests/test-isodetect.c
+++ b/tests/test-isodetect.c
@@ -460,6 +460,12 @@ test_sled(void)
     test_one("sled");
 }

+static void
+test_freedos(void)
+{
+    test_one("freedos");
+}
+
 int
 main(int argc, char *argv[])
 {
@@ -479,6 +485,7 @@ main(int argc, char *argv[])
     g_test_add_func("/isodetect/mageia", test_mageia);
     g_test_add_func("/isodetect/sles", test_sles);
     g_test_add_func("/isodetect/sled", test_sled);
+    g_test_add_func("/isodetect/freedos", test_freedos);

     /* Upfront so we don't confuse valgrind */
     osinfo_entity_get_type();

and then the tests were failing because the directory hierarchy should
be tests/isodata/freedos/freedos12.
I've squashed that in your commit and pushed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20180214/fa29729a/attachment.sig>


More information about the Libosinfo mailing list