blob: 0e2bbc5c6983b07ffa1a4de4e7e9d3f87e26d9f3 [file] [log] [blame]
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -08001#!/bin/sh
2
Dimitrios Mavrommatis6d4d5ce2017-12-13 11:35:55 -08003echo "Register Client.."
4./registerClient.sh 1 &> /dev/null
5echo "Add DPN.."
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -08006./addDPN.sh 1 &> /dev/null
7
Dimitrios Mavrommatis6d4d5ce2017-12-13 11:35:55 -08008echo "Running 100 configure create.."
Dimitrios Mavrommatis15405af2017-12-05 19:55:29 -08009for (( i=1; i<=100; i++)); do
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -080010 ./configure.sh create $i 1 &> /dev/null &
Dimitrios Mavrommatis15405af2017-12-05 19:55:29 -080011 if ! (($i % 10)); then
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -080012 wait
13 fi
14done
15
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -080016wait
17
Dimitrios Mavrommatis6d4d5ce2017-12-13 11:35:55 -080018echo "Running 100 configure delete.."
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -080019for (( i=1; i<=100; i++)); do
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -080020 ./configure.sh delete $i &> /dev/null &
Dimitrios Mavrommatise1f23ac2017-12-05 22:59:41 -080021 if ! (($i % 10)); then
22 wait
23 fi
24done
Dimitrios Mavrommatisa9df5962017-12-05 15:11:04 -080025
Dimitrios Mavrommatis6d4d5ce2017-12-13 11:35:55 -080026echo "Delete DPN.."
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -080027./deleteDPN.sh 1 &> /dev/null
Dimitrios Mavrommatis6d4d5ce2017-12-13 11:35:55 -080028echo "Deregister Client.."
Dimitrios Mavrommatis7c0ff012017-12-07 00:25:58 -080029./deregisterClient.sh 1 &> /dev/null