]> p2p-next.cs.pub.ro Git - p2p-testing-infrastructure.git/commitdiff
Moved client_script_mappings and globalconfig from TestSpecs to ControlScripts
authorGeorge Milescu <george.milescu@gmail.com>
Mon, 9 Aug 2010 08:59:29 +0000 (10:59 +0200)
committerGeorge Milescu <george.milescu@gmail.com>
Mon, 9 Aug 2010 08:59:29 +0000 (10:59 +0200)
Signed-off-by: George Milescu <george.milescu@gmail.com>
25 files changed:
ControlScripts/client_script_mappings [moved from TestSpecs/client_script_mappings with 100% similarity]
ControlScripts/clients/hrk/start_hrk_leecher.sh
ControlScripts/clients/hrk/start_hrk_seeder.sh
ControlScripts/clients/tribler/start_tribler_doe.sh
ControlScripts/clients/tribler/start_tribler_leecher.sh
ControlScripts/clients/tribler/start_tribler_proxy.sh
ControlScripts/clients/tribler/start_tribler_seeder.sh
ControlScripts/detect_complete_client.sh
ControlScripts/globalconfig [moved from TestSpecs/globalconfig with 100% similarity]
ControlScripts/parse_client_log.sh
ControlScripts/run_campaign.sh
ControlScripts/run_scenario.sh
ControlScripts/schedule_client.sh
ControlScripts/start_tracker.sh
ControlScripts/stop_client.sh
Utils/grep_search.sh
Utils/show_version.sh
Utils/start_tribler_gui.sh
Utils/sync_cluster.sh
Utils/sync_cluster_containers.sh
Utils/sync_kth.sh
Utils/sync_single_cluster_container.sh
Utils/sync_single_cluster_container_scripts.sh
Utils/sync_swarm.cs.pub.ro.sh
Utils/sync_vm.sh

index ece73077b590ab6afb5785173e88d26211a97bc2..818062e37e282f4c6ddf7e427a6e32f904eea01a 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 0418677d560ec6633940ef50f326e820ad7a06e2..2bf9ee86057aa18b4911408604ca86d968172fa2 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index bf28ed3aeda096859bed844eb8bdacefea5b843b..9a280b87c428041689681def48209d1290f45a57 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 9f9c37eb3479e99d43910dc0646798b98855c43f..7353376d2bc77473b7172370593e6fa8c011c19e 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-echo "pwd=$(pwd)"
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 55c372515e7172d1de66759eafc07075f31e0c18..ada6fde00b6d14e1d7c342fc73086a8576f2ae22 100755 (executable)
@@ -21,10 +21,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file
index 1cbb18c985eb281c3ad6a4ea5d978ce4b40ccd24..023d4e9f0240bd170ff7f48898803b3ba53b63e1 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-echo "pwd=$(pwd)"
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 12a6f059cc5af70f15d619790884fdf731fd91e9..9a711b84f638a7c31c971fc648aa566de32bbfcb 100755 (executable)
@@ -18,10 +18,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file (CLIENT_TYPE)
@@ -34,10 +34,10 @@ fi
 
 # Read client mappings configuration file
 # Check if the client mappings configuration file exists
-if [ ! -e ../TestSpecs/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
+if [ ! -e client_script_mappings ]; then
+       echo "Warning: The client mappings config file client_script_mappings does not exist."
 else
-       source ../TestSpecs/client_script_mappings
+       source client_script_mappings
 fi
 
 log_file=$1
index 4989a6f6e0b908ecf60c6ca2da93d4de5b84620f..4ca5df6f3137c5c35439f1ee1c3269cc02f22bc7 100755 (executable)
@@ -18,18 +18,18 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read client mappings configuration file
 # Check if the client mappings configuration file exists
-if [ ! -e ../TestSpecs/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
+if [ ! -e client_script_mappings ]; then
+       echo "Warning: The client mappings config file client_script_mappings does not exist."
 else
-       source ../TestSpecs/client_script_mappings
+       source client_script_mappings
 fi
 
 client_type=$1
index 3f03b309c5a87f2b34604d944c44f84412ba1f56..dbe0557548a5fd5193f3c45f50bdfd29261ac8fe 100755 (executable)
@@ -19,10 +19,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read arguments
index 64bc8145a55db0c81fa1b9b1a3dc9b871a6d5a69..3787103eaf9a1efed68f7c05f9d9cb78d3d5f590 100755 (executable)
@@ -39,10 +39,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read arguments
index 948996eb02422153fdf79a26477be1a71802dbcb..931d8a85179259641a57a2e44402bd482bce3a50 100755 (executable)
@@ -12,10 +12,10 @@ _DEBUG="off"
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration file
@@ -28,10 +28,10 @@ fi
 
 # Read client mappings configuration file
 # Check if the client mappings configuration file exists
-if [ ! -e ../TestSpecs/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
+if [ ! -e client_script_mappings ]; then
+       echo "Warning: The client mappings config file client_script_mappings does not exist."
 else
-       source ../TestSpecs/client_script_mappings
+       source client_script_mappings
 fi
 
 client_pid=0
index bb9e8aee576a53ac80d346d5b4978b8852cc7c08..e0a1b2966ee147c80ab427062ce6cffb047b09f1 100755 (executable)
@@ -9,10 +9,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 export PYTHONPATH=$PYTHONPATH:.
index 8bb41b55a7886c2d1cbe127edc4267e3330cc165..21f31b9a50df771957ceb43f0dbe9cb71b6bb688 100755 (executable)
@@ -12,10 +12,10 @@ _DEBUG="off"
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e globalconfig ]; then
+       echo "Warning: The global config file globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source globalconfig
 fi
 
 # Read the node-specific configuration (CLIENT_TYPE)
@@ -28,10 +28,10 @@ fi
 
 # Read client mappings configuration file
 # Check if the client mappings configuration file exists
-if [ ! -e ../TestSpecs/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
+if [ ! -e client_script_mappings ]; then
+       echo "Warning: The client mappings config file client_script_mappings does not exist."
 else
-       source ../TestSpecs/client_script_mappings
+       source client_script_mappings
 fi
 
 stop_client ${CLIENT_TYPE}
index c8242f292c4bbb3ade1d86327aded1360d925a9a..a68f6b58b87d15ca7a6e4089ae888eea02577e9c 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 cd $TRIBLER_UTIL_REL_PATH
index 327a9ca53d50fee46f036b70e205769f537e2aa2..50bce1512878c066b76e6260c21bdd098cc56859 100755 (executable)
@@ -9,10 +9,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 export PYTHONPATH=$PYTHONPATH:.
index 5268d142549021e9b38c0b285eee776f363088e2..2cc41557aad20e8ef8430ee19423c7c31c91301b 100755 (executable)
@@ -9,10 +9,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../../../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../../../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../../../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 export PYTHONPATH=$PYTHONPATH:.
index 39df36f4de1e6e147fdbec87302aa6b5482a3e34..2af39f6f66f65d3bb11a9d5c93f0e69cca53ba57 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH p2p@p2p-next-01.grid.pub.ro:/home/p2p/george/P2P-Next
index 20bbac2a137cf0e082cf8369c00ed75217e8ff70..981fc6fbe14c90a058e1134521018187b165c860 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 for host in p2p-next-01.grid.pub.ro p2p-next-03.grid.pub.ro p2p-next-04.grid.pub.ro p2p-next-05.grid.pub.ro p2p-next-06.grid.pub.ro p2p-next-07.grid.pub.ro p2p-next-08.grid.pub.ro p2p-next-09.grid.pub.ro p2p-next-10.grid.pub.ro; do
index c264257c6a4ad3701bd098f63477d61f54941eee..b134e2306f623d340342996c3884693fb715f875 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH george@p2p-next.xen.ssvl.kth.se:/home/george/P2P-Next
index f2a2365c7ee5356529ddee5eb77f5689ba59b9d5..4d5f68f97146d37836d12c381f8b055c59ced953 100755 (executable)
@@ -10,10 +10,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 host=$1
index b857312f3a3fd19c2e7aa11e59ecbec82d2f322a..cfa7d6a34b9a40690dc06b228ec38971b581ec60 100755 (executable)
@@ -10,10 +10,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 host=$1
index 048befa0d4743272399b66649e71cd1678cb4093..0abdc463215a5d177a263eee643b7599f54f6995 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH george@swarm.cs.pub.ro:/home/george/P2P-Next
index 757115e2f8067bfcf18c39d140e5032504a937fc..61fb14be3ba9927cc3ae78bc4f5ed28e037eb5a4 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../TestSpecs/globalconfig ]; then
-       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
+if [ ! -e ../ControlScripts/globalconfig ]; then
+       echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
 else
-       source ../TestSpecs/globalconfig
+       source ../ControlScripts/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH george@tracker.local:/home/george/P2P-Next