summaryrefslogtreecommitdiffstats
path: root/src/test/cli/ceph-conf/env-vs-args.t
blob: b4cf858f182b776bf6d159eb21e5841a39125259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# we can use CEPH_CONF to override the normal configuration file location.
  $ 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: cannot open from-env: \(2\) No such file or directory (re)
  .* \-1 Errors while parsing config file! (re)
  .* \-1 parse_file: cannot open from-env: \(2\) No such file or directory (re)
  [1]

# command-line arguments should override environment
  $ env -u CEPH_CONF ceph-conf -c from-args
  global_init: unable to open config file from search list from-args
  [1]