]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/ceph-conf/env-vs-args.t
update sources to ceph Nautilus 14.2.1
[ceph.git] / 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 did not load config file, using default settings.
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