-
-
Notifications
You must be signed in to change notification settings - Fork 438
/
00072
25 lines (21 loc) · 938 Bytes
/
00072
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
rm -f tests/data-cd.tmp
rm -f tests/root
ln -s root1 tests/root
STEP=`TZ=GMT date --date="2019-05-01 23:59:57" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root2 tests/root
STEP=`TZ=GMT date --date="2019-05-01 23:59:58" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root3 tests/root
STEP=`TZ=GMT date --date="2019-05-01 23:59:59" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root4 tests/root
STEP=`TZ=GMT date --date="2019-05-02 00:00:00" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null
rm -f tests/root
ln -s root5 tests/root
STEP=`TZ=GMT date --date="2019-05-02 00:00:01" +%s`
TZ=GMT ./sadc --unix_time=${STEP} -S A_NULL,A_CPU,A_PCSW tests/data-cd.tmp 1 1 >/dev/null