diff --git a/package_check.sh b/package_check.sh index 1f306ce..f0d1ce6 100755 --- a/package_check.sh +++ b/package_check.sh @@ -175,7 +175,7 @@ then fi fi # Create the lock file -touch "$lock_file" +echo "start:$(date +%s)" > "$lock_file" #================================================= # Check the internet connectivity diff --git a/sub_scripts/testing_process.sh b/sub_scripts/testing_process.sh index ee32e47..f392ed6 100644 --- a/sub_scripts/testing_process.sh +++ b/sub_scripts/testing_process.sh @@ -1299,6 +1299,9 @@ TEST_LAUNCHER () { starttime=$global_start_timer # End the timer for the test stop_timer 2 + + # Update the lock file with the date of the last finished test. + echo "$1 $2:$(date +%s)" > "$lock_file" } set_witness_files () {