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