From bbf1b909320287543d55be8632bd38d5a5ab9e75 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 1 Jul 2019 20:39:03 +0800 Subject: [PATCH] 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 --- src/test/cli/ceph-conf/env-vs-args.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/cli/ceph-conf/env-vs-args.t b/src/test/cli/ceph-conf/env-vs-args.t index db8965dedad..8e76f036569 100644 --- a/src/test/cli/ceph-conf/env-vs-args.t +++ b/src/test/cli/ceph-conf/env-vs-args.t @@ -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 -- 2.39.5