Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / ceph-conf / env-vs-args.t
1 # we can use CEPH_CONF to override the normal configuration file location.
2   $ env CEPH_CONF=from-env ceph-conf -s foo bar
3   .* \-1 did not load config file, using default settings. (re)
4   .* \-1 Errors while parsing config file! (re)
5   .* \-1 parse_file: cannot open from-env: \(2\) No such file or directory (re)
6   .* \-1 Errors while parsing config file! (re)
7   .* \-1 parse_file: cannot open from-env: \(2\) No such file or directory (re)
8   [1]
9
10 # command-line arguments should override environment
11   $ env -u CEPH_CONF ceph-conf -c from-args
12   global_init: unable to open config file from search list from-args
13   [1]
14