Bug #55394
Updated by Rishabh Dave about 2 years ago
Exclamation mark is a special character for bash as well as cephfs-shell. For bash, it substitutes current command with matching similar command from command history and for cephfs-shell it is runs the command as OS-level command and not inside the cephfs-shell. And evey command executed in tests (say "ls") "ls"i) is run by passing it as a parameter to cephfs-shell command (that is "cephfs-shell -c <conf> -- ls"). So, So exclamation mark, when used in tests, used, is consumed by bash instead of cephfs-shell. To avoid these complications complication it's best (and even simpler!) to issue the command meant for bash on bash without going through cephfs-shell.