]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/cli/ceph-conf: fix test
authorKefu Chai <kchai@redhat.com>
Mon, 1 Jul 2019 12:39:03 +0000 (20:39 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 1 Jul 2019 12:39:04 +0000 (20:39 +0800)
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>
src/test/cli/ceph-conf/env-vs-args.t

index db8965dedad5c16db3020835fc255fd88a6f7a65..8e76f03656952435bdc554c081067dc4d0b43dd7 100644 (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