test: timestamp messages in test scripts
The commonly used 'greenprint' function now adds a date + timestamp to each message for debugging and tracking the duration of segments of each scripts.
This commit is contained in:
parent
03fe1337a5
commit
aea77ed3de
16 changed files with 16 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue