diff options
Diffstat (limited to 'src/test/cli-integration/rbd/formatted-output.t')
-rw-r--r-- | src/test/cli-integration/rbd/formatted-output.t | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/test/cli-integration/rbd/formatted-output.t b/src/test/cli-integration/rbd/formatted-output.t index 1c3d96f1e81..a1a9ff76b44 100644 --- a/src/test/cli-integration/rbd/formatted-output.t +++ b/src/test/cli-integration/rbd/formatted-output.t @@ -133,8 +133,11 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) $ rbd info bar --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -147,6 +150,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "bar", "object_size": 4194304, "objects": 256, @@ -176,6 +180,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) </image> $ rbd info bar@snap rbd image 'bar': @@ -189,9 +195,12 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) \tprotected: True (esc) $ rbd info bar@snap --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -204,6 +213,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "bar", "object_size": 4194304, "objects": 128, @@ -234,6 +244,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) <protected>true</protected> </image> $ rbd info bar@snap2 @@ -248,9 +260,12 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) \tprotected: False (esc) $ rbd info bar@snap2 --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -263,6 +278,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "bar", "object_size": 4194304, "objects": 256, @@ -293,6 +309,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) <protected>false</protected> </image> $ rbd info baz @@ -307,8 +325,11 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) $ rbd info baz --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -317,6 +338,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "baz", "object_size": 4194304, "objects": 512, @@ -342,6 +364,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) </image> $ rbd info quux rbd image 'quux': @@ -386,8 +410,11 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) $ rbd info rbd_other/child --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -399,6 +426,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "child", "object_size": 4194304, "objects": 128, @@ -427,6 +455,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) </image> $ rbd info rbd_other/child@snap rbd image 'child': @@ -440,11 +470,14 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) \tprotected: False (esc) \tparent: rbd/bar@snap (esc) \toverlap: 512 MiB (esc) $ rbd info rbd_other/child@snap --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -456,6 +489,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "child", "object_size": 4194304, "objects": 128, @@ -491,6 +525,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) <protected>false</protected> <parent> <pool>rbd</pool> @@ -511,8 +547,11 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) $ rbd info rbd_other/deep-flatten-child --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -525,6 +564,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "deep-flatten-child", "object_size": 4194304, "objects": 128, @@ -554,6 +594,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) </image> $ rbd info rbd_other/deep-flatten-child@snap rbd image 'deep-flatten-child': @@ -567,9 +609,12 @@ whenever it is run. grep -v to ignore it, but still work on other distros. \top_features: (esc) \tflags: (esc) \tcreate_timestamp:* (glob) + \taccess_timestamp:* (glob) + \tmodify_timestamp:* (glob) \tprotected: False (esc) $ rbd info rbd_other/deep-flatten-child@snap --format json | python -mjson.tool | sed 's/,$/, /' { + "access_timestamp": "*", (glob) "block_name_prefix": "rbd_data.*", (glob) "create_timestamp": "*", (glob) "features": [ @@ -582,6 +627,7 @@ whenever it is run. grep -v to ignore it, but still work on other distros. "flags": [], "format": 2, "id": "*", (glob) + "modify_timestamp": "*", (glob) "name": "deep-flatten-child", "object_size": 4194304, "objects": 128, @@ -612,6 +658,8 @@ whenever it is run. grep -v to ignore it, but still work on other distros. <op_features></op_features> <flags></flags> <create_timestamp>*</create_timestamp> (glob) + <access_timestamp>*</access_timestamp> (glob) + <modify_timestamp>*</modify_timestamp> (glob) <protected>false</protected> </image> $ rbd list |