consul/test/integration/connect/envoy
Pierre Souchay 2f37d68d9b [BUGFIX][BUILD] When test fail in circle-ci in main, have a proper error message (#6416)
Since FUNCNAME is not defined when running outside a function,
trap does not work and display wrong error message.

Example from https://circleci.com/gh/hashicorp/consul/69506 :

```
  ⨯ FAIL
  /home/circleci/project/test/integration/connect/envoy/run-tests.sh: line 1: FUNCNAME[0]: unbound variable
  make: *** [GNUmakefile:363: test-envoy-integ] Error 1
```

This fix will avoid this error message and display the real cause.
2019-08-28 10:26:05 -04:00
..
case-badauthz
case-basic
case-centralconf
case-cfg-resolver-dc-failover-gateways-none
case-cfg-resolver-dc-failover-gateways-remote
case-cfg-resolver-defaultsubset
case-cfg-resolver-subset-onlypassing
case-cfg-resolver-subset-redirect
case-cfg-resolver-svc-failover
case-cfg-resolver-svc-redirect
case-consul-exec
case-dogstatsd-udp
case-gateways-local
case-gateways-remote
case-grpc
case-http
case-http-badauthz
case-http2
case-prometheus
case-statsd-udp
case-zipkin
consul-base-cfg
.gitignore
Dockerfile-bats
Dockerfile-consul-envoy
defaults.sh
docker-compose.yml
helpers.bash
run-tests.sh [BUGFIX][BUILD] When test fail in circle-ci in main, have a proper error message (#6416) 2019-08-28 10:26:05 -04:00