#!/usr/bin/env bash

set -x

cat <<EOF > Samples/user.ini
[behave.userdata]
max_attempts=$MAX_ATTEMPTS
cf_apiurl=$CF_APIURL
cf_username=$CF_USERNAME
cf_password=$CF_PASSWORD
cf_org=$CF_ORG
cf_domain=$CF_DOMAIN
cf_max_attempts=$CF_MAX_ATTEMPTS
EOF
cat Samples/user.ini | grep -v 'password='

pushd Samples
  behave $FEATURES
  RC=$?
popd

cp Samples/test.log logs/$LOGFILE

exit $RC

# vim: ft=sh et

#!/usr/bin/env bash

set -x

cat <<EOF > Samples/user.ini
[behave.userdata]
max_attempts=$MAX_ATTEMPTS
cf_apiurl=$CF_APIURL
cf_username=$CF_USERNAME
cf_password=$CF_PASSWORD
cf_org=$CF_ORG
cf_domain=$CF_DOMAIN
cf_max_attempts=$CF_MAX_ATTEMPTS
EOF
cat Samples/user.ini | grep -v 'password='

pushd Samples
  behave --format plain $FEATURES
  RC=$?
popd

cp Samples/test.log logs/$LOGFILE

exit $RC

# vim: ft=sh et

Revert "plain formatter introduces string encoding errors" Red herring - actual was docker image not having a configured locale
Revert "plain formatter introduces string encoding errors"
Red herring - actual was docker image not having a configured locale

This reverts commit 74fb633610548e531ed88dea4cd2631d8b27bcd3.
