Root/m1/torture/loop

Source at commit 96a5dd3b603b5401faac2d6120cc10ddae853542 created 8 years 7 months ago.
By Werner Almesberger, m1/torture/: quick and dirty power-cycling test loop
1#!/bin/sh
2n=0
3while true; do
4    n=`expr $n + 1`
5    echo ===== $n =====
6
7    labsw ch1=0 ch2=0
8    sleep 5
9    labsw ch1=1 ch2=1
10    sleep 2
11
12    make -C ../jtag-boot boot
13
14    sleep 60
15    echo echo === $n === `date` >/dev/ttyUSB0
16    sleep 10
17done
18

Archive Download this file

Branches:
master



interactive