[Libosinfo] [libosinfo] NetBSD: add NetBSD 6.x and 7.x tests isodata

Christophe Fergeau cfergeau at redhat.com
Mon Feb 19 09:14:03 UTC 2018


Based on a patch from Vicente Chaves de Melo <vchaves at ymail.com>
---

I've expanded on the 7.1.1 patch sent by Vicente, and pushed this one.

Christophe

 .../netbsd6.0/NetBSD-6.0-amd64-boot-com.iso.txt    | 16 ++++++++++++
 .../netbsd/netbsd6.0/NetBSD-6.0-amd64-boot.iso.txt | 16 ++++++++++++
 .../netbsd/netbsd6.0/NetBSD-6.0-amd64.iso.txt      | 16 ++++++++++++
 .../netbsd6.0/NetBSD-6.0-i386-boot-com.iso.txt     | 16 ++++++++++++
 .../netbsd/netbsd6.0/NetBSD-6.0-i386-boot.iso.txt  | 16 ++++++++++++
 .../netbsd/netbsd6.0/NetBSD-6.0-i386.iso.txt       | 16 ++++++++++++
 .../netbsd6.1/NetBSD-6.1-amd64-boot-com.iso.txt    | 16 ++++++++++++
 .../netbsd/netbsd6.1/NetBSD-6.1-amd64-boot.iso.txt | 16 ++++++++++++
 .../netbsd/netbsd6.1/NetBSD-6.1-amd64.iso.txt      | 16 ++++++++++++
 .../netbsd6.1/NetBSD-6.1-i386-boot-com.iso.txt     | 16 ++++++++++++
 .../netbsd/netbsd6.1/NetBSD-6.1-i386-boot.iso.txt  | 16 ++++++++++++
 .../netbsd/netbsd6.1/NetBSD-6.1-i386.iso.txt       | 16 ++++++++++++
 .../netbsd7.0/NetBSD-7.0-amd64-boot-com.iso.txt    | 16 ++++++++++++
 .../netbsd/netbsd7.0/NetBSD-7.0-amd64-boot.iso.txt | 16 ++++++++++++
 .../netbsd/netbsd7.0/NetBSD-7.0-amd64.iso.txt      | 16 ++++++++++++
 .../netbsd7.0/NetBSD-7.0-i386-boot-com.iso.txt     | 16 ++++++++++++
 .../netbsd/netbsd7.0/NetBSD-7.0-i386-boot.iso.txt  | 16 ++++++++++++
 .../netbsd/netbsd7.0/NetBSD-7.0-i386.iso.txt       | 16 ++++++++++++
 .../NetBSD-7.1.1-amd64-boot-com.iso.txt            | 16 ++++++++++++
 .../netbsd7.1.1/NetBSD-7.1.1-amd64-boot.iso.txt    | 16 ++++++++++++
 .../netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64.iso.txt  | 29 ++++++++++++++++++++++
 .../netbsd7.1.1/NetBSD-7.1.1-i386-boot-com.iso.txt | 16 ++++++++++++
 .../netbsd7.1.1/NetBSD-7.1.1-i386-boot.iso.txt     | 16 ++++++++++++
 .../netbsd/netbsd7.1.1/NetBSD-7.1.1-i386.iso.txt   | 16 ++++++++++++
 .../netbsd7.1/NetBSD-7.1-amd64-boot-com.iso.txt    | 16 ++++++++++++
 .../netbsd/netbsd7.1/NetBSD-7.1-amd64-boot.iso.txt | 16 ++++++++++++
 .../netbsd/netbsd7.1/NetBSD-7.1-amd64.iso.txt      | 16 ++++++++++++
 .../netbsd7.1/NetBSD-7.1-i386-boot-com.iso.txt     | 16 ++++++++++++
 .../netbsd/netbsd7.1/NetBSD-7.1-i386-boot.iso.txt  | 29 ++++++++++++++++++++++
 .../netbsd/netbsd7.1/NetBSD-7.1-i386.iso.txt       | 16 ++++++++++++
 tests/test-isodetect.c                             |  7 ++++++
 31 files changed, 513 insertions(+)
 create mode 100644 tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot-com.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot.iso.txt
 create mode 100644 tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386.iso.txt

diff --git a/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot-com.iso.txt b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot-com.iso.txt
new file mode 100644
index 00000000..6da8b2a4
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_60
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 23736
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot.iso.txt b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot.iso.txt
new file mode 100644
index 00000000..6da8b2a4
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_60
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 23736
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64.iso.txt b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64.iso.txt
new file mode 100644
index 00000000..8c9d8ede
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-amd64.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_60
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 168821
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot-com.iso.txt b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot-com.iso.txt
new file mode 100644
index 00000000..f5ca773b
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_60
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 21825
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot.iso.txt b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot.iso.txt
new file mode 100644
index 00000000..f5ca773b
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_60
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 21825
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386.iso.txt b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386.iso.txt
new file mode 100644
index 00000000..6fec4a7d
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.0/NetBSD-6.0-i386.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_60
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 160024
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot-com.iso.txt b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot-com.iso.txt
new file mode 100644
index 00000000..e7d17674
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_61
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 23828
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot.iso.txt b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot.iso.txt
new file mode 100644
index 00000000..e7d17674
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_61
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 23828
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64.iso.txt b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64.iso.txt
new file mode 100644
index 00000000..1954b96a
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-amd64.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_61
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 169251
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot-com.iso.txt b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot-com.iso.txt
new file mode 100644
index 00000000..f13c5ec7
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_61
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 21896
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot.iso.txt b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot.iso.txt
new file mode 100644
index 00000000..f13c5ec7
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_61
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 21896
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386.iso.txt b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386.iso.txt
new file mode 100644
index 00000000..79284743
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd6.1/NetBSD-6.1-i386.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_61
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 160498
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot-com.iso.txt b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot-com.iso.txt
new file mode 100644
index 00000000..7733bc96
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_70
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 41469
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot.iso.txt b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot.iso.txt
new file mode 100644
index 00000000..7733bc96
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_70
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 41469
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64.iso.txt b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64.iso.txt
new file mode 100644
index 00000000..4aec4ea0
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-amd64.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_70
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 190171
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot-com.iso.txt b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot-com.iso.txt
new file mode 100644
index 00000000..3ee1db11
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_70
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 43829
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot.iso.txt b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot.iso.txt
new file mode 100644
index 00000000..3ee1db11
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_70
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 43829
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386.iso.txt b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386.iso.txt
new file mode 100644
index 00000000..5b85b61d
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.0/NetBSD-7.0-i386.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_70
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 207054
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot-com.iso.txt b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot-com.iso.txt
new file mode 100644
index 00000000..cc7381c8
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_711
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 41956
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot.iso.txt b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot.iso.txt
new file mode 100644
index 00000000..cc7381c8
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_711
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 41956
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64.iso.txt b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64.iso.txt
new file mode 100644
index 00000000..e06d7323
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-amd64.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_711
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 192145
+El Torito VD version 1 found, boot catalog is in sector 19
+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 14 20
diff --git a/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot-com.iso.txt b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot-com.iso.txt
new file mode 100644
index 00000000..17e87fa9
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_711
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 44321
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot.iso.txt b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot.iso.txt
new file mode 100644
index 00000000..17e87fa9
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_711
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 44321
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386.iso.txt b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386.iso.txt
new file mode 100644
index 00000000..f9b81231
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1.1/NetBSD-7.1.1-i386.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_711
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 208849
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot-com.iso.txt b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot-com.iso.txt
new file mode 100644
index 00000000..a18c11ed
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_71
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 41544
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot.iso.txt b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot.iso.txt
new file mode 100644
index 00000000..a18c11ed
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64-boot.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_71
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 41544
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64.iso.txt b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64.iso.txt
new file mode 100644
index 00000000..a5d00a2b
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-amd64.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_71
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 190898
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot-com.iso.txt b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot-com.iso.txt
new file mode 100644
index 00000000..ab29d549
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot-com.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_71
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 43915
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot.iso.txt b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot.iso.txt
new file mode 100644
index 00000000..797cbcd6
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386-boot.iso.txt
@@ -0,0 +1,29 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_71
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 43915
+El Torito VD version 1 found, boot catalog is in sector 19
+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 14 20
diff --git a/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386.iso.txt b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386.iso.txt
new file mode 100644
index 00000000..e4e582b1
--- /dev/null
+++ b/tests/isodata/netbsd/netbsd7.1/NetBSD-7.1-i386.iso.txt
@@ -0,0 +1,16 @@
+CD-ROM is in ISO 9660 format
+System id: NetBSD
+Volume id: NETBSD_71
+Volume set id: 
+Publisher id: THE_NETBSD_PROJECT
+Data preparer id: 
+Application id: 
+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: 207863
+El Torito VD version 1 found, boot catalog is in sector 19
+NO Joliet present
diff --git a/tests/test-isodetect.c b/tests/test-isodetect.c
index b5368325..387bf432 100644
--- a/tests/test-isodetect.c
+++ b/tests/test-isodetect.c
@@ -466,6 +466,12 @@ test_freedos(void)
     test_one("freedos");
 }
 
+static void
+test_netbsd(void)
+{
+    test_one("netbsd");
+}
+
 int
 main(int argc, char *argv[])
 {
@@ -486,6 +492,7 @@ main(int argc, char *argv[])
     g_test_add_func("/isodetect/sles", test_sles);
     g_test_add_func("/isodetect/sled", test_sled);
     g_test_add_func("/isodetect/freedos", test_freedos);
+    g_test_add_func("/isodetect/netbsd", test_netbsd);
 
     /* Make sure we catch unexpected g_warning() */
     g_log_set_always_fatal(G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
-- 
2.14.3




More information about the Libosinfo mailing list