The tests look for the exact error text.
But they are OS dependant, and thus on FreeBSD the output is
slightly different:
2019-07-30T19:04:16.581+0000
80bc48000 -1 parse_file: filesystem error: in file_size: No such file or directory [from-env]
This stems from the fact that different OSes use different
standard libraries: libc++ <> libstd++
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
$ 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: .* 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: .* file.size: (No such file or directory )?\[from-env\] (re)
[1]
# command-line arguments should override environment