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

2018-02-14 Thread Christophe Fergeau
On Wed, Feb 14, 2018 at 12:23:51PM +0100, Christophe Fergeau wrote:
> 
> Acked-by: Christophe Fergeau 

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.


signature.asc
Description: PGP signature
___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo


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

2018-02-02 Thread Felipe Borges
---
 tests/isodata/freedos/FD12CD.iso.txt   | 29 +
 tests/isodata/freedos/FD12LGCY.iso.txt | 29 +
 2 files changed, 58 insertions(+)
 create mode 100644 tests/isodata/freedos/FD12CD.iso.txt
 create mode 100644 tests/isodata/freedos/FD12LGCY.iso.txt

diff --git a/tests/isodata/freedos/FD12CD.iso.txt 
b/tests/isodata/freedos/FD12CD.iso.txt
new file mode 100644
index 000..5205591
--- /dev/null
+++ b/tests/isodata/freedos/FD12CD.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: FD-SETUP
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 
E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 214247
+El Torito VD version 1 found, boot catalog is in sector 69
+NO Joliet present
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+Hid 1
+Arch 0 (x86)
+ID ''
+Key 55 AA
+Eltorito defaultboot header:
+Bootid 88 (bootable)
+Boot media 0 (No Emulation Boot)
+Load segment 0
+Sys type 0
+Nsect 4
+Bootoff 46 70
diff --git a/tests/isodata/freedos/FD12LGCY.iso.txt 
b/tests/isodata/freedos/FD12LGCY.iso.txt
new file mode 100644
index 000..44ea185
--- /dev/null
+++ b/tests/isodata/freedos/FD12LGCY.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: LINUX
+Volume id: FDI-CD
+Volume set id: 
+Publisher id: 
+Data preparer id: 
+Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 
E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
+Copyright File id: 
+Abstract File id: 
+Bibliographic File id: 
+Volume set size is: 1
+Volume set sequence number is: 1
+Logical block size is: 2048
+Volume size is: 214188
+El Torito VD version 1 found, boot catalog is in sector 68
+NO Joliet present
+Rock Ridge signatures version 1 found
+Eltorito validation header:
+Hid 1
+Arch 0 (x86)
+ID ''
+Key 55 AA
+Eltorito defaultboot header:
+Bootid 88 (bootable)
+Boot media 2 (1.44MB Floppy)
+Load segment 0
+Sys type 0
+Nsect 1
+Bootoff 45 69
-- 
2.14.3

___
Libosinfo mailing list
Libosinfo@redhat.com
https://www.redhat.com/mailman/listinfo/libosinfo