blob: 1d3a6ac8a550eb57accf695f0854a586b1bb29da [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 Mavrommatisa9df5962017-12-05 15:11:04 -08005./addDPN.sh 1 &> /dev/null
6
Dimitrios Mavrommatis15405af2017-12-05 19:55:29 -08007for (( i=1; i<=100; i++)); do
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -08008 ./configure.sh create $i 1 >> create.log 2> /dev/null &
Dimitrios Mavrommatis15405af2017-12-05 19:55:29 -08009 if ! (($i % 10)); then
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -080010 wait
11 fi
12done
13
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -080014wait
15
16for (( i=1; i<=100; i++)); do
17 ./configure.sh delete $i >> delete.log 2> /dev/null &
18 if ! (($i % 10)); then
19 wait
20 fi
21done
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -080022
Dimitrios Mavrommatis15405af2017-12-05 19:55:29 -080023./deleteDPN.sh 1 &> /dev/null