Actions
Bug #55394
openqa/cephfs: don't exclamation mark on test_cephfs_shell.py
% Done:
0%
Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Exclamation mark is a special character for bash as well as
cephfs-shell. For bash, it substitutes current command with matching
command from command history and for cephfs-shell it runs the command
as OS-level command and not inside the cephfs-shell.
And evey command executed in tests (say "ls") is run by passing it as a
parameter to cephfs-shell command (that is "cephfs-shell c <conf> -
ls"). So, exclamation mark, when used in tests, is consumed by bash
instead of cephfs-shell.
To avoid these complications it's best (and even simpler!) to issue the
command meant for bash on bash without going through cephfs-shell.
Updated by Venky Shankar about 2 years ago
- Status changed from In Progress to Pending Backport
- Backport set to quincy, pacific
- Pull request ID set to 45971
Updated by Backport Bot about 2 years ago
- Copied to Backport #55403: quincy: qa/cephfs: don't exclamation mark on test_cephfs_shell.py added
Updated by Backport Bot about 2 years ago
- Copied to Backport #55404: pacific: qa/cephfs: don't exclamation mark on test_cephfs_shell.py added
Actions