Skip to content

Commit 86157e2

Browse files
committed
Use --no-color for inspec exec
Change-Id: Icbafd4931699eaef7e922aa01d7227e697f29f86
1 parent 37f0688 commit 86157e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ MAJOR_VERSIONS=("${!MYSQL_CLUSTER_VERSIONS[@]}"); [ -n "$1" ] && MAJOR_VERSIONS=
2424

2525
for MAJOR_VERSION in "${MAJOR_VERSIONS[@]}"; do
2626
docker run -d -e MYSQL_RANDOM_ROOT_PASSWORD=true --name mysql-cluster mysql/mysql-cluster:$MAJOR_VERSION --log-error
27-
inspec exec $MAJOR_VERSION/inspec/control.rb --controls container
28-
inspec exec $MAJOR_VERSION/inspec/control.rb -t docker://mysql-cluster --controls packages
27+
inspec exec --no-color $MAJOR_VERSION/inspec/control.rb --controls container
28+
inspec exec --no-color $MAJOR_VERSION/inspec/control.rb -t docker://mysql-cluster --controls packages
2929
docker stop mysql-cluster
3030
docker rm mysql-cluster
3131
done

0 commit comments

Comments
 (0)