From 050403fbe4f7499447c55e48ee05942b2743f9a6 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 11 Nov 2022 12:03:31 -0800 Subject: [PATCH] diff-manifests.sh: Use shared_lib for greenprint and redprint --- test/cases/diff-manifests.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/cases/diff-manifests.sh b/test/cases/diff-manifests.sh index f052017e2..a4bf95e1d 100755 --- a/test/cases/diff-manifests.sh +++ b/test/cases/diff-manifests.sh @@ -1,11 +1,8 @@ #!/usr/bin/env bash - set -euo pipefail -# Colorful timestamped output. -function greenprint { - echo -e "\033[1;32m[$(date -Isecond)] ${1}\033[0m" -} +# NOTE: This script is executed differently in .gitlab-ci.yml so use a relative path +source ./test/cases/shared_lib.sh function revert_to_head { git checkout "$head"