hw-test/scripts/test-batch

27 lines
458 B
Bash
Executable file

#!/bin/bash
source scan-dmidecode
source test-variables
#rm -f /output/hwtests/*/netdev/*.ethtool
#source scan-netdev
echo $$ > /run/batch.pid
#scan-bonding
#echo -n "setup-netdev... "
#setup-netdev
#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 '--'