hw-test/scripts/test-batch

24 lines
451 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
source scan-netdev
echo $$ > /run/batch.pid
echo -n "setup-netdev... "
setup-netdev >/dev/null &
sleep 1
jobs
disown
#stat-bonding out > $OUTPUT_DIR/stat-bonding.pre.1.out
#test-bonding
#stat-bonding out > $OUTPUT_DIR/stat-bonding.post.1.out
# Take snapshot
#mkdir -p $SNAPSHOT_D
#cp -af $OUTPUT_DIR/* $SNAPSHOT_D/
rm -f /run/batch.pid
#echo '--'