hw-test/scripts/test-batch

28 lines
458 B
Text
Raw Normal View History

2017-01-25 22:30:16 -06:00
#!/bin/bash
source scan-dmidecode
source test-variables
#rm -f /output/hwtests/*/netdev/*.ethtool
2017-01-26 21:43:03 -06:00
#source scan-netdev
2017-01-25 22:30:16 -06:00
echo $$ > /run/batch.pid
2017-01-26 21:43:03 -06:00
#scan-bonding
#echo -n "setup-netdev... "
#setup-netdev
#sleep 1
#jobs
#disown
2017-01-25 22:30:16 -06:00
#stat-bonding out > $OUTPUT_DIR/stat-bonding.pre.1.out
#test-bonding
#stat-bonding out > $OUTPUT_DIR/stat-bonding.post.1.out
# Take snapshot
2017-01-26 21:43:03 -06:00
mkdir -p $SNAPSHOT_D
cp -af $OUTPUT_DIR/* $SNAPSHOT_D/
2017-01-25 22:30:16 -06:00
rm -f /run/batch.pid
#echo '--'