mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
tests: Fix isoinfo test.
Also remove GUESTFS_ISO_SYSTEM_ID.
Fixes: commit 2f587bbaec
This commit is contained in:
@@ -6882,8 +6882,7 @@ this will create the largest possible LV." };
|
||||
tests = [
|
||||
InitNone, Always, TestResult (
|
||||
[["isoinfo_device"; "/dev/sdd"]],
|
||||
"STREQ (ret->iso_system_id, GUESTFS_ISO_SYSTEM_ID) && "^
|
||||
"STREQ (ret->iso_volume_id, \"CDROM\") && "^
|
||||
"STREQ (ret->iso_volume_id, \"ISOIMAGE\") && "^
|
||||
"STREQ (ret->iso_volume_set_id, \"\") && "^
|
||||
"ret->iso_volume_set_size == 1 && "^
|
||||
"ret->iso_volume_sequence_number == 1 && "^
|
||||
|
||||
@@ -56,12 +56,6 @@ let rec generate_c_api_tests () =
|
||||
|
||||
#include \"tests.h\"
|
||||
|
||||
#ifdef __linux__
|
||||
#define GUESTFS_ISO_SYSTEM_ID \"LINUX\"
|
||||
#else
|
||||
#error Missing GUESTFS_ISO_SYSTEM_ID for the current OS
|
||||
#endif
|
||||
|
||||
";
|
||||
|
||||
(* Generate a list of commands which are not tested anywhere. *)
|
||||
|
||||
Reference in New Issue
Block a user