diff --git a/src/test/cli-integration/rbd/formatted-output.t b/src/test/cli-integration/rbd/formatted-output.t index b355531f472db..171e2a3e4dcb0 100644 --- a/src/test/cli-integration/rbd/formatted-output.t +++ b/src/test/cli-integration/rbd/formatted-output.t @@ -704,49 +704,60 @@ whenever it is run. grep -v to ignore it, but still work on other distros. [ { "format": 1, + "id": "", "image": "foo", "size": 1073741824 }, { "format": 1, + "id": "", "image": "foo", "protected": "false", "size": 1073741824, - "snapshot": "snap" + "snapshot": "snap", + "snapshot_id": * (glob) }, { "format": 1, + "id": "", "image": "quux", "lock_type": "exclusive", "size": 1048576 }, { "format": 2, + "id": "*", (glob) "image": "bar", "size": 1073741824 }, { "format": 2, + "id": "*", (glob) "image": "bar", "protected": "true", "size": 536870912, - "snapshot": "snap" + "snapshot": "snap", + "snapshot_id": * (glob) }, { "format": 2, + "id": "*", (glob) "image": "bar", "protected": "false", "size": 1073741824, - "snapshot": "snap2" + "snapshot": "snap2", + "snapshot_id": * (glob) }, { "format": 2, + "id": "*", (glob) "image": "baz", "lock_type": "shared", "size": 2147483648 }, { "format": 2, + "id": "*", (glob) "image": "quuy", "size": 2147483648 } @@ -755,49 +766,60 @@ whenever it is run. grep -v to ignore it, but still work on other distros. foo + 1073741824 1 foo + snap + * (glob) 1073741824 1 false quux + 1048576 1 exclusive bar + * (glob) 1073741824 2 bar + * (glob) snap + * (glob) 536870912 2 true bar + * (glob) snap2 + * (glob) 1073741824 2 false baz + * (glob) 2147483648 2 shared quuy + * (glob) 2147483648 2 @@ -825,11 +847,13 @@ whenever it is run. grep -v to ignore it, but still work on other distros. [ { "format": 2, + "id": "*", (glob) "image": "child", "size": 536870912 }, { "format": 2, + "id": "*", (glob) "image": "child", "parent": { "image": "bar", @@ -839,31 +863,38 @@ whenever it is run. grep -v to ignore it, but still work on other distros. }, "protected": "false", "size": 536870912, - "snapshot": "snap" + "snapshot": "snap", + "snapshot_id": * (glob) }, { "format": 2, + "id": "*", (glob) "image": "deep-flatten-child", "size": 536870912 }, { "format": 2, + "id": "*", (glob) "image": "deep-flatten-child", "protected": "false", "size": 536870912, - "snapshot": "snap" + "snapshot": "snap", + "snapshot_id": * (glob) } ] $ rbd list rbd_other -l --format xml | xml_pp 2>&1 | grep -v '^new version at /usr/bin/xml_pp' child + * (glob) 536870912 2 child + * (glob) snap + * (glob) 536870912 rbd @@ -876,12 +907,15 @@ whenever it is run. grep -v to ignore it, but still work on other distros. deep-flatten-child + * (glob) 536870912 2 deep-flatten-child + * (glob) snap + * (glob) 536870912 2 false @@ -1055,23 +1089,29 @@ whenever it is run. grep -v to ignore it, but still work on other distros. { "images": [ { + "id": "*", (glob) "name": "child", "provisioned_size": 536870912, "snapshot": "snap", + "snapshot_id": *, (glob) "used_size": 0 }, { + "id": "*", (glob) "name": "child", "provisioned_size": 536870912, "used_size": 4194304 }, { + "id": "*", (glob) "name": "deep-flatten-child", "provisioned_size": 536870912, "snapshot": "snap", + "snapshot_id": *, (glob) "used_size": 0 }, { + "id": "*", (glob) "name": "deep-flatten-child", "provisioned_size": 536870912, "used_size": 0 @@ -1085,23 +1125,29 @@ whenever it is run. grep -v to ignore it, but still work on other distros. child + * (glob) snap + * (glob) 536870912 0 child + * (glob) 536870912 4194304 deep-flatten-child + * (glob) snap + * (glob) 536870912 0 deep-flatten-child + * (glob) 536870912 0