Sorry really new to this, Its not a fix to the scripts just a add on for people to run to test their SD and USB read speeds. It looks like that is not the spot for me to submit the script. and what about Icon.png and adding in info to gamelist.xml?
<game>
<path>./drivetest.sh</path>
<name>Drive Speed Test</name>
<desc>This script test the read speeds of your SD Card and or USB drive
It will run 4 types of test when testing.
Cached Reads, Buffered Disk Reads
Direct Cached read, Direct disk reads</desc>
<image>./icons/drivetest.png</image>
</game>