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-24 14:08:40 +0000
commita0b6112102668c35750dec4699477e0650cfce57 (patch)
treec357da9833bc07fcdaa083199fe69e415f57ac1f
parentb4f3f1d9ff11b92982bb252d81d5c53dfcc99691 (diff)
common: Define a default lognamemain
-rwxr-xr-xcommon.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.sh b/common.sh
index 57a4aed..a08df11 100755
--- a/common.sh
+++ b/common.sh
@@ -130,3 +130,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)