From f970f093fb36f2576e4346f98da1408933eb4831 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 13 May 2024 14:32:41 +0100 Subject: [PATCH] tests: btrfs: Remove another test that used qgroup 0/* This was failing with recent Linux: libguestfs: error: btrfs_subvolume_snapshot: /dir/test3: /dir/test6: ERROR: cannot snapshot '/sysroot/dir/test3': Invalid argument I tried to change the test to use 1/1000 instead, but that fails with a different error which I don't understand at all. As we're not meant to be testing btrfs here, only that libguestfs can translate between the guestfs API and btrfs commands and we know it can do that, I simply deleted the sub-test entirely. (cherry picked from commit c7fe9fd91706ba1e0a3944901a886417f7a88518) --- generator/actions_core.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/generator/actions_core.ml b/generator/actions_core.ml index 5a9f862ce..68627078f 100644 --- a/generator/actions_core.ml +++ b/generator/actions_core.ml @@ -7179,8 +7179,7 @@ See C." }; ["btrfs_subvolume_create"; "/test1"; "NOARG"]; ["btrfs_subvolume_create"; "/test2"; "NOARG"]; ["btrfs_subvolume_create"; "/dir/test3"; "NOARG"]; - ["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test5"; "true"; "NOARG"]; - ["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test6"; ""; "0/1000"]]), [] + ["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test5"; "true"; "NOARG"]]), [] ]; shortdesc = "create a btrfs snapshot"; longdesc = "\