summaryrefslogtreecommitdiffstats
path: root/src/test/cli/cconf/env-vs-args.t
blob: ae9368040885c6ade8160545638b5a35a1f405f0 (plain)
1
2
3
4
5
6
7
8
9
10
# we can use CEPH_CONF to override the normal configuration file location.
  $ env CEPH_CONF=from-env cconf -s foo bar
  global_init: unable to open config file. (re)
  [1]

# command-line arguments should override environment
  $ env -u CEPH_CONF cconf -c from-args
  global_init: unable to open config file. (re)
  [1]