Dimitrios Mavrommatis | a9df596 | 2017-12-05 15:11:04 -0800 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
Dimitrios Mavrommatis | 6d4d5ce | 2017-12-13 11:35:55 -0800 | [diff] [blame^] | 3 | echo "Register Client.." |
| 4 | ./registerClient.sh 1 &> /dev/null |
| 5 | echo "Add DPN.." |
Dimitrios Mavrommatis | a9df596 | 2017-12-05 15:11:04 -0800 | [diff] [blame] | 6 | ./addDPN.sh 1 &> /dev/null |
| 7 | |
Dimitrios Mavrommatis | 6d4d5ce | 2017-12-13 11:35:55 -0800 | [diff] [blame^] | 8 | echo "Running 100 configure create.." |
Dimitrios Mavrommatis | 15405af | 2017-12-05 19:55:29 -0800 | [diff] [blame] | 9 | for (( i=1; i<=100; i++)); do |
Dimitrios Mavrommatis | 7c0ff01 | 2017-12-07 00:25:58 -0800 | [diff] [blame] | 10 | ./configure.sh create $i 1 &> /dev/null & |
Dimitrios Mavrommatis | 15405af | 2017-12-05 19:55:29 -0800 | [diff] [blame] | 11 | if ! (($i % 10)); then |
Dimitrios Mavrommatis | a9df596 | 2017-12-05 15:11:04 -0800 | [diff] [blame] | 12 | wait |
| 13 | fi |
| 14 | done |
| 15 | |
Dimitrios Mavrommatis | e1f23ac | 2017-12-05 22:59:41 -0800 | [diff] [blame] | 16 | wait |
| 17 | |
Dimitrios Mavrommatis | 6d4d5ce | 2017-12-13 11:35:55 -0800 | [diff] [blame^] | 18 | echo "Running 100 configure delete.." |
Dimitrios Mavrommatis | e1f23ac | 2017-12-05 22:59:41 -0800 | [diff] [blame] | 19 | for (( i=1; i<=100; i++)); do |
Dimitrios Mavrommatis | 7c0ff01 | 2017-12-07 00:25:58 -0800 | [diff] [blame] | 20 | ./configure.sh delete $i &> /dev/null & |
Dimitrios Mavrommatis | e1f23ac | 2017-12-05 22:59:41 -0800 | [diff] [blame] | 21 | if ! (($i % 10)); then |
| 22 | wait |
| 23 | fi |
| 24 | done |
Dimitrios Mavrommatis | a9df596 | 2017-12-05 15:11:04 -0800 | [diff] [blame] | 25 | |
Dimitrios Mavrommatis | 6d4d5ce | 2017-12-13 11:35:55 -0800 | [diff] [blame^] | 26 | echo "Delete DPN.." |
Dimitrios Mavrommatis | 7c0ff01 | 2017-12-07 00:25:58 -0800 | [diff] [blame] | 27 | ./deleteDPN.sh 1 &> /dev/null |
Dimitrios Mavrommatis | 6d4d5ce | 2017-12-13 11:35:55 -0800 | [diff] [blame^] | 28 | echo "Deregister Client.." |
Dimitrios Mavrommatis | 7c0ff01 | 2017-12-07 00:25:58 -0800 | [diff] [blame] | 29 | ./deregisterClient.sh 1 &> /dev/null |