modify date.txt location

This commit is contained in:
Torma Kristóf 2019-11-04 13:50:44 +01:00
parent 5c062cba41
commit 6e8d4d6ff8
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -28,7 +28,7 @@ if [[ LOADTEST_INSTALLED == "" ]]; then
fi fi
echo -e "Benchmarking functions\n" echo -e "Benchmarking functions\n"
echo (date '+%Y-%m-%d %H-%M-%S') > date.txt echo (date '+%Y-%m-%d %H-%M-%S') > ./data/date.txt
for function in "${functions[@]}"; do for function in "${functions[@]}"; do
function_friendly=$(echo $function | cut - -d'-' -f1) function_friendly=$(echo $function | cut - -d'-' -f1)
echo -e "Benchmarking $function\n" echo -e "Benchmarking $function\n"
@ -117,4 +117,4 @@ for function in "${functions[@]}"; do
echo -e "Finished at $datetime" echo -e "Finished at $datetime"
done done
echo (date '+%Y-%m-%d %H-%M-%S') >> date.txt echo (date '+%Y-%m-%d %H-%M-%S') >> ./data/date.txt