Add time in the lock file

This commit is contained in:
Maniack Crudelis 2017-10-22 23:21:52 +02:00
parent 40c1c1b7f2
commit 8f1785ee0c
2 changed files with 4 additions and 1 deletions

View file

@ -175,7 +175,7 @@ then
fi
fi
# Create the lock file
touch "$lock_file"
echo "start:$(date +%s)" > "$lock_file"
#=================================================
# Check the internet connectivity

View file

@ -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 () {