WizardKit/.bin/Scripts/hw-diags-prime95
2Shirt dc606a8780
Main Prime95 sections working
* Still need check results and update progress sections
2018-12-06 01:06:21 -07:00

19 lines
304 B
Bash
Executable file

#!/bin/bash
#
## Wizard Kit: HW Diagnostics - Prime95
function usage {
echo "Usage: $0 log-dir"
echo " e.g. $0 /tmp/tmp.7Mh5f1RhSL9001"
}
# Bail early
if [ ! -d "$1" ]; then
usage
exit 1
fi
# Run Prime95
cd "$1"
mprime -t | grep -iv --line-buffered 'stress.txt' | tee -a "prime.log"