Skip memory test
This commit is contained in:
parent
a5e247b20c
commit
2c7c7e7141
1 changed files with 13 additions and 13 deletions
|
@ -8,19 +8,19 @@ echo $$ > /run/test.pid
|
|||
TEST_CONTAINER=1
|
||||
export TEST_CONTAINER
|
||||
scan-netdev
|
||||
test-memtester
|
||||
if [[ -f $OUTPUT_DIR/memtester.fail ]] ; then
|
||||
mkdir -p $SNAPSHOT_D
|
||||
cp -af $OUTPUT_DIR/* $SNAPSHOT_D/
|
||||
FAILED_PROCS=`head -1 $OUTPUT_DIR/memtester.fail | sed 's/[^0-9]//g'`
|
||||
echo "${BLD}$FAILED_PROCS${OFF} have ${RED}FAILED${OFF} the memtester test."
|
||||
echo "All tests have been stopped..."
|
||||
echo "${BLD}Please replace the failing memory and run this tests again.${OFF}"
|
||||
rm -f /run/test.pid
|
||||
while [[ 1 ]] ; do
|
||||
sleep 3600
|
||||
done
|
||||
fi
|
||||
#test-memtester
|
||||
#if [[ -f $OUTPUT_DIR/memtester.fail ]] ; then
|
||||
# mkdir -p $SNAPSHOT_D
|
||||
# cp -af $OUTPUT_DIR/* $SNAPSHOT_D/
|
||||
# FAILED_PROCS=`head -1 $OUTPUT_DIR/memtester.fail | sed 's/[^0-9]//g'`
|
||||
# echo "${BLD}$FAILED_PROCS${OFF} have ${RED}FAILED${OFF} the memtester test."
|
||||
# echo "All tests have been stopped..."
|
||||
# echo "${BLD}Please replace the failing memory and run this tests again.${OFF}"
|
||||
# rm -f /run/test.pid
|
||||
# while [[ 1 ]] ; do
|
||||
# sleep 3600
|
||||
# done
|
||||
#fi
|
||||
test-badblocks
|
||||
#if [[ -f $OUTPUT_DIR/badblocks.fail ]] ; then
|
||||
# echo "One or more disks have ${RED}FAILED${OFF} the badblocks test."
|
||||
|
|
Loading…
Reference in a new issue