diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index cbe10decb..b3546a53f 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -15,7 +15,7 @@ localectl set-locale LANG=en_US.UTF-8 # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } function retry { diff --git a/schutzbot/mockbuild.sh b/schutzbot/mockbuild.sh index fdd018b3c..1770d6eb5 100755 --- a/schutzbot/mockbuild.sh +++ b/schutzbot/mockbuild.sh @@ -3,7 +3,7 @@ set -euo pipefail # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Get OS and architecture details. diff --git a/schutzbot/prepare-rhel-internal.sh b/schutzbot/prepare-rhel-internal.sh index d41675461..008bb691e 100755 --- a/schutzbot/prepare-rhel-internal.sh +++ b/schutzbot/prepare-rhel-internal.sh @@ -3,7 +3,7 @@ set -euo pipefail # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } ALL_ARCHES="aarch64 ppc64le s390x x86_64" diff --git a/test/cases/aws.sh b/test/cases/aws.sh index 9fee37598..466c881bd 100755 --- a/test/cases/aws.sh +++ b/test/cases/aws.sh @@ -5,7 +5,7 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Container image used for cloud provider CLI tools diff --git a/test/cases/azure.sh b/test/cases/azure.sh index 421d16680..115c942a2 100755 --- a/test/cases/azure.sh +++ b/test/cases/azure.sh @@ -9,7 +9,7 @@ HYPER_V_GEN="${HYPER_V_GEN:-V1}" # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Container image used for cloud provider CLI tools diff --git a/test/cases/filesystem.sh b/test/cases/filesystem.sh index 77f628fb0..590412a41 100644 --- a/test/cases/filesystem.sh +++ b/test/cases/filesystem.sh @@ -17,7 +17,7 @@ fi # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } TEST_UUID=$(uuidgen) diff --git a/test/cases/installers.sh b/test/cases/installers.sh index 744693eff..7a6322adb 100755 --- a/test/cases/installers.sh +++ b/test/cases/installers.sh @@ -9,7 +9,7 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # modify existing kickstart by prepending and appending commands diff --git a/test/cases/koji.sh b/test/cases/koji.sh index 4da40e089..4879ddb45 100755 --- a/test/cases/koji.sh +++ b/test/cases/koji.sh @@ -8,7 +8,7 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Provision the software under test. diff --git a/test/cases/ostree-ng-og.sh b/test/cases/ostree-ng-og.sh index e942b8e69..fce5fec10 100644 --- a/test/cases/ostree-ng-og.sh +++ b/test/cases/ostree-ng-og.sh @@ -10,7 +10,7 @@ ARCH=$(uname -m) # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Start libvirtd and test it. diff --git a/test/cases/ostree-ng.sh b/test/cases/ostree-ng.sh index 468ecee3e..541bf53b3 100755 --- a/test/cases/ostree-ng.sh +++ b/test/cases/ostree-ng.sh @@ -9,7 +9,7 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Install openshift client diff --git a/test/cases/ostree-raw-image.sh b/test/cases/ostree-raw-image.sh index 2fcdf942a..94ade6e0a 100755 --- a/test/cases/ostree-raw-image.sh +++ b/test/cases/ostree-raw-image.sh @@ -10,7 +10,7 @@ ARCH=$(uname -m) # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Start libvirtd and test it. diff --git a/test/cases/ostree-simplified-installer.sh b/test/cases/ostree-simplified-installer.sh index ffda22129..25b9d3d4d 100755 --- a/test/cases/ostree-simplified-installer.sh +++ b/test/cases/ostree-simplified-installer.sh @@ -10,7 +10,7 @@ ARCH=$(uname -m) # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Start firewalld diff --git a/test/cases/ostree.sh b/test/cases/ostree.sh index f81878a04..59c862889 100755 --- a/test/cases/ostree.sh +++ b/test/cases/ostree.sh @@ -49,7 +49,7 @@ esac # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } function get_build_info() { diff --git a/test/cases/regression-composer-works-behind-satellite.sh b/test/cases/regression-composer-works-behind-satellite.sh index 02de8d348..0b7a3778b 100644 --- a/test/cases/regression-composer-works-behind-satellite.sh +++ b/test/cases/regression-composer-works-behind-satellite.sh @@ -3,7 +3,7 @@ set -exuo pipefail function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } function generate_certificates { diff --git a/test/cases/vmware.sh b/test/cases/vmware.sh index 0c058810e..55e43586d 100755 --- a/test/cases/vmware.sh +++ b/test/cases/vmware.sh @@ -5,7 +5,7 @@ source /usr/libexec/osbuild-composer-test/set-env-variables.sh # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } if [ "$ID" != "rhel" ]; then diff --git a/tools/libvirt_test.sh b/tools/libvirt_test.sh index 8663d7106..8a111e758 100755 --- a/tools/libvirt_test.sh +++ b/tools/libvirt_test.sh @@ -21,7 +21,7 @@ fi # Colorful output. function greenprint { - echo -e "\033[1;32m${1}\033[0m" + echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" } # Start libvirtd and test it.