summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-07-11 08:04:56 +0200
committerGuido Günther <agx@sigxcpu.org>2017-07-12 20:23:11 +0200
commitbf3f23bf67933a32de75c967a3a6771778826be5 (patch)
treeffca7034d0a8248e53fdf8f20589834fcff42a42 /tests
parent85a58d7453881afb13245dad971b5ea5389cad77 (diff)
downloadlibosinfo-bf3f23bf67933a32de75c967a3a6771778826be5.tar.gz
test-isodetect: fix parsing of application, system and publisher id
Diffstat (limited to 'tests')
-rw-r--r--tests/test-isodetect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-isodetect.c b/tests/test-isodetect.c
index 0e9aea5..c72b8fc 100644
--- a/tests/test-isodetect.c
+++ b/tests/test-isodetect.c
@@ -146,13 +146,13 @@ static struct ISOInfo *load_iso(GFile *file, const gchar *shortid, const gchar *
value = line + strlen("Volume id: ");
} else if (g_str_has_prefix(line, "Publisher id: ")) {
key = OSINFO_MEDIA_PROP_PUBLISHER_ID;
- value = line + strlen("Volume id: ");
+ value = line + strlen("Publisher id: ");
} else if (g_str_has_prefix(line, "System id: ")) {
key = OSINFO_MEDIA_PROP_SYSTEM_ID;
- value = line + strlen("Volume id: ");
+ value = line + strlen("System id: ");
} else if (g_str_has_prefix(line, "Application id: ")) {
key = OSINFO_MEDIA_PROP_APPLICATION_ID;
- value = line + strlen("Volume id: ");
+ value = line + strlen("Application id: ");
} else if (g_str_has_prefix(line, "Logical block size is: ")) {
blk_size = (gint64) atoll(line + strlen("Logical block size is: "));
} else if (g_str_has_prefix(line, "Volume size is: ")) {