summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-11-19 09:19:37 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-11-20 13:21:20 +0000
commit42316d4a8c5e7e9c03d44b0e31a4c0628b712d40 (patch)
treecf4d8e3f6b8dd7a197e9a738575c25027e0b5015
parent9be2d9c58c4a08124d3108ceffb4e6c670f6cc57 (diff)
common: Define a default logname
-rwxr-xr-xcommon.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.sh b/common.sh
index 34db981..30a2a02 100755
--- a/common.sh
+++ b/common.sh
@@ -109,3 +109,7 @@ pass() {
completed() {
echo "$VERSION" > "$last_build"
}
+
+## Define a default logfile name so that the pass_fail can
+## work in simple tests
+logfile=$(log_filename $ID)