# Loads config file from CONFIG_FILE env
env CONFIG_FILE=foo.yaml
exec karma --check-config
! 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 cluster=cwd uri=http://127.0.0.1:8080 proxy=true readonly=false
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
