summaryrefslogtreecommitdiffstats
path: root/src/test/cli/rbd/invalid-snap-usage.t
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/test/cli/rbd/invalid-snap-usage.t
parentInitial commit. (diff)
downloadceph-b26c4052f3542036551aa9dec9caa4226e456195.tar.xz
ceph-b26c4052f3542036551aa9dec9caa4226e456195.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/cli/rbd/invalid-snap-usage.t')
-rw-r--r--src/test/cli/rbd/invalid-snap-usage.t115
1 files changed, 115 insertions, 0 deletions
diff --git a/src/test/cli/rbd/invalid-snap-usage.t b/src/test/cli/rbd/invalid-snap-usage.t
new file mode 100644
index 000000000..920c3c223
--- /dev/null
+++ b/src/test/cli/rbd/invalid-snap-usage.t
@@ -0,0 +1,115 @@
+ $ rbd create foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd flatten foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd resize foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd rm foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd import-diff /tmp/diff foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd mv foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd mv foo@snap bar
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd mv foo@snap bar@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta list foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta get foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta get foo@snap key
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta set foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta set foo@snap key
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta set foo@snap key val
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta remove foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd image-meta remove foo@snap key
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd snap ls foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd snap purge foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd watch foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd status foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd feature disable foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd feature disable foo@snap layering
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd feature enable foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd feature enable foo@snap layering
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd lock list foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd lock add foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd lock add foo@snap id
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd lock remove foo@snap
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd lock remove foo@snap id
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd lock remove foo@snap id client.1234
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd bench foo@snap --io-type write
+ rbd: snapshot name specified for a command that doesn't use it
+ [22]
+
+ $ rbd clone foo@snap bar@snap
+ rbd: destination snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd import /bin/ls ls@snap
+ rbd: destination snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd cp foo bar@snap
+ rbd: destination snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd cp foo@snap bar@snap
+ rbd: destination snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd deep cp foo bar@snap
+ rbd: destination snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd deep cp foo@snap bar@snap
+ rbd: destination snapshot name specified for a command that doesn't use it
+ [22]
+ $ rbd mv foo bar@snap
+ rbd: destination snapshot name specified for a command that doesn't use it
+ [22]