-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_cluster.sh
39 lines (36 loc) · 915 Bytes
/
test_cluster.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
#! /bin/bash
echo "rm -rf *.log"
rm -rf *.log
echo "source begin.sh"
source begin.sh
sleep 1
echo "\nclinet -p 8100 get zju"
client -p 8100 get zju
echo "\nclient -p 8101 set zju 1"
client -p 8101 set zju 1
echo "\nclient -p 8000 get zju"
client -p 8000 get zju
echo "\nclient -p 8000 get a"
client -p 8000 get a
echo "\nclient -p 8000 set a 2"
client -p 8000 set a 2
echo "\nclient -p 8000 set zju 1"
client -p 8000 set zju 1
echo "\nclient -p 8000 get zju"
client -p 8000 get zju
echo "\nclient -p 8000 get zju"
client -p 8000 get zju
echo "\nclient -p 8000 get zju"
client -p 8000 get zju
echo "\nclient -p 8000 get zju"
client -p 8000 get zju
echo "\nclient -p 8000 get a"
client -p 8000 get a
echo "\nclient -p 8000 del zju"
client -p 8000 del zju
echo "\nclient -p 8000 get zju"
client -p 8000 get zju
echo "\nclient -p 8000 get a"
client -p 8000 del a
echo "\nclient -p 8000 get a"
client -p 8000 get a