Skip to content

Commit 53b06b1

Browse files
committed
Use --no-color for inspec exec
Change-Id: I12fe177e918c89fb1256c13483324c6bea6d75bc
1 parent 0c46948 commit 53b06b1

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
@@ -42,8 +42,8 @@ for MAJOR_VERSION in "${MAJOR_VERSIONS[@]}"; do
4242
fi
4343
done
4444
docker run -d --name mysql-server mysql/mysql-server:"$MAJOR_VERSION$ARCH_SUFFIX"
45-
inspec exec "$MAJOR_VERSION/inspec/control.rb" --controls container
46-
inspec exec "$MAJOR_VERSION/inspec/control.rb" -t docker://mysql-server --controls server-package
45+
inspec exec --no-color "$MAJOR_VERSION/inspec/control.rb" --controls container
46+
inspec exec --no-color "$MAJOR_VERSION/inspec/control.rb" -t docker://mysql-server --controls server-package
4747
if [ "${MAJOR_VERSION}" == "5.7" ] || [ "${MAJOR_VERSION}" == "8.0" ]; then
4848
inspec exec "$MAJOR_VERSION/inspec/control.rb" -t docker://mysql-server --controls shell-package
4949
fi

0 commit comments

Comments
 (0)