Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / rbd / too-many-args.t
1 A command taking no args:
2
3   $ rbd showmapped junk
4   rbd: too many arguments
5   [1]
6
7 A command taking one arg:
8
9   $ rbd info img1 junk
10   rbd: too many arguments
11   [1]
12
13 A command taking two args:
14
15   $ rbd copy img1 img2 junk
16   rbd: too many arguments
17   [1]
18
19 A command taking three args:
20
21   $ rbd lock remove img1 lock1 locker1 junk
22   rbd: too many arguments
23   [1]
24
25 A command taking unlimited args:
26
27   $ rbd feature enable img1 layering striping exclusive-lock object-map fast-diff deep-flatten journaling junk
28   rbd: the argument for option is invalid
29   [1]
30
31   $ rbd feature disable img1 layering striping exclusive-lock object-map fast-diff deep-flatten journaling junk
32   rbd: the argument for option is invalid
33   [1]