mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 08:24:12 +00:00
parseable logging
This commit is contained in:
parent
8bf148f336
commit
9995819f84
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ do
|
|||
if ! docker run -e EXPECTFAIL="$EXPECTFAIL" -e TOOL="$t" --rm ctftools bash -ic 'manage-tools -s -f -v test $TOOL';
|
||||
then
|
||||
failed="$failed$t "
|
||||
echo "[ACCOUNTING]=====[ $DISTRO $t FAILED $((SECONDS - toolstarttime)) ]"
|
||||
else
|
||||
echo "[ACCOUNTING]=====[ $DISTRO $t SUCCEEDED $((SECONDS - toolstarttime)) ]"
|
||||
fi
|
||||
echo "[-] TOOL $t TEST ENDED: $((SECONDS - toolstarttime)) seconds, $((SECONDS - starttime)) seconds since start of script."
|
||||
set -e
|
||||
|
|
Loading…
Reference in a new issue