blob: 08e90c5f8e78e9b3cdf5f4ace77e2bfb9b4188f7 [file] [log] [blame]
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -08001#!/bin/sh
2
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -08003rm -rf create.log delete.log
4
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -08005./registerClient.sh 1 default &> /dev/null
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -08006./addDPN.sh 1 &> /dev/null
7
Dimitrios Mavrommatis15405af2017-12-05 19:55:29 -08008for (( i=1; i<=100; i++)); do
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -08009 ./configure.sh create $i 1 &> /dev/null &
Dimitrios Mavrommatis15405af2017-12-05 19:55:29 -080010 if ! (($i % 10)); then
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -080011 wait
12 fi
13done
14
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -080015wait
16
17for (( i=1; i<=100; i++)); do
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -080018 ./configure.sh delete $i &> /dev/null &
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -080019 if ! (($i % 10)); then
20 wait
21 fi
22done
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -080023
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -080024./deleteDPN.sh 1 &> /dev/null
25./deregisterClient.sh 1 &> /dev/null