# Loads config file from --config.file flag
env CONFIG_FILE=foo.yaml
karma.bin-should-work --check-config --config.file foo.yaml
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=info msg="Reading configuration file" path=foo.yaml
level=info msg="Version: dev"
level=info msg="Configured Alertmanager source" name=cwd proxy=true readonly=false uri=http://127.0.0.1:8080
level=info msg="Setting up proxy endpoints" alertmanager=cwd
level=info msg="Configuration is valid"
-- foo.yaml --
alertmanager:
  servers:
    - name: cwd
      uri: "http://127.0.0.1:8080"
      proxy: true
