-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.sh
executable file
·66 lines (62 loc) · 1.57 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
ex_code=0
for i in `seq 1 178`
do
story=`./aikatsu_story -0 $i`
title=`./aikatsu_story -0 --title $i`
echo "Aikatsu!$i: $title $story"
if [[ -z $title || -z $story ]];then
echo "Failed to fetch story of Aikatsu! ep$i" 1>&2
ex_code=1
fi
done
for i in `seq 1 100`
do
story=`./aikatsu_story -s $i`
title=`./aikatsu_story -s --title $i`
echo "Aikatsu Stars!$i: $title $story"
if [[ -z $title || -z $story ]];then
echo "Failed to fetch story of Aikatsu Stars! ep$i" 1>&2
ex_code=1
fi
done
for i in `seq 1 76`
do
story=`./aikatsu_story -f $i`
title=`./aikatsu_story -f --title $i`
echo "Aikatsu Friends!$i: $title $story"
if [[ -z $title || -z $story ]];then
echo "Failed to fetch story of Aikatsu Friends! ep$i" 1>&2
ex_code=1
fi
done
for i in `seq 1 25`
do
story=`./aikatsu_story -o $i`
title=`./aikatsu_story -o --title $i`
echo "Aikatsu on Parade!$i: $title $story"
if [[ -z $title || -z $story ]];then
echo "Failed to fetch story of Aikatsu on Parade! ep$i" 1>&2
ex_code=1
fi
done
for i in `seq 1 6`
do
story=`./aikatsu_story -w $i`
title=`./aikatsu_story -w --title $i`
echo "Aikatsu on Parade! web$i: $title $story"
if [[ -z $title || -z $story ]];then
echo "Failed to fetch story of Aikatsu on Parade! web ep$i" 1>&2
ex_code=1
fi
done
for i in `seq 1 25`
do
story=`./aikatsu_story -p $i`
title=`./aikatsu_story -p --title $i`
echo "Aikatsu Planet! $i: $title $story"
if [[ -z $title || -z $story ]];then
echo "Failed to fetch story of Aikatsu Planet! web $i" 1>&2
ex_code=1
fi
done
exit $ex_code