test/cli/ceph-conf: fix test

turns out the libstdc++ on fc30 does not include error_code.message() in
filesystem_error.what(). let's make it optional

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-07-01 20:39:03 +08:00
parent beb0c343b3
commit bbf1b90932

View File

@ -2,9 +2,9 @@
$ env CEPH_CONF=from-env ceph-conf -s foo bar
did not load config file, using default settings.
.* \-1 Errors while parsing config file! (re)
.* \-1 parse_file: filesystem error: cannot get file size: No such file or directory \[from-env\] (re)
.* \-1 parse_file: filesystem error: cannot get file size: (No such file or directory )?\[from-env\] (re)
.* \-1 Errors while parsing config file! (re)
.* \-1 parse_file: filesystem error: cannot get file size: No such file or directory \[from-env\] (re)
.* \-1 parse_file: filesystem error: cannot get file size: (No such file or directory )?\[from-env\] (re)
[1]
# command-line arguments should override environment