blob: 396a04b8ebee5e338515a6a32f244ed56c46910f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#test_target="AS23118 91.220.156.0/24 208.67.222.222 ovh.net US"
test_target="AS23118 91.220.156.0/24 208.67.222.222"
err() {
echo "ERROR while executing $1"
exit 1
}
mkdir -p "tests_output" ||exit
for t in $test_target; do
tp=`echo $t |tr '/' '-'`
cmd="./dtube.py $t"
echo $cmd
./dtube.py $t > "tests_output/$tp" ||err $cmd $t
done
echo "All tests OK"
|