mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Add time in the lock file
This commit is contained in:
parent
40c1c1b7f2
commit
8f1785ee0c
2 changed files with 4 additions and 1 deletions
|
@ -175,7 +175,7 @@ then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Create the lock file
|
# Create the lock file
|
||||||
touch "$lock_file"
|
echo "start:$(date +%s)" > "$lock_file"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# Check the internet connectivity
|
# Check the internet connectivity
|
||||||
|
|
|
@ -1299,6 +1299,9 @@ TEST_LAUNCHER () {
|
||||||
starttime=$global_start_timer
|
starttime=$global_start_timer
|
||||||
# End the timer for the test
|
# End the timer for the test
|
||||||
stop_timer 2
|
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 () {
|
set_witness_files () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue