Update storage-test.sh
This commit is contained in:
@@ -914,7 +914,9 @@ Submit=$(curl -s -k -L --form "DDWriteSpeed=$DDWriteResult" --form "host=$hostid
|
||||
SubmitResult=""
|
||||
SubmitResult=$(echo "$Submit" | grep submission)
|
||||
if [ -n "$SubmitResult" ]; then
|
||||
echo "Result submitted successfully"
|
||||
echo "Result submitted successfully"
|
||||
echo $Submit
|
||||
echo
|
||||
fi
|
||||
|
||||
# Calculate score
|
||||
@@ -944,8 +946,6 @@ printf "%-25s %-25s %-25s\n" "IOZone" "4k random read" "$IO4kRandRead KB/s"
|
||||
printf "%-25s %-25s %-25s\n" "IOZone" "4k random write" "$IO4kRandWrite KB/s"
|
||||
printf "\n$BRIGHT$MAGENTA$UNDERLINE%-25s %-25s %-25s\n" " " "Score: $Score" " "
|
||||
echo ""
|
||||
# echo "Compare with previous benchmark results at:"
|
||||
# echo "https://pibenchmarks.com/$NORMAL"
|
||||
|
||||
# Return to home directory
|
||||
cd ~ || return
|
||||
Reference in New Issue
Block a user