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 ece7307..818062e 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 0418677..2bf9ee8 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 bf28ed3..9a280b8 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 9f9c37e..7353376 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 55c3725..ada6fde 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 1cbb18c..023d4e9 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 12a6f05..9a711b8 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 4989a6f..4ca5df6 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 3f03b30..dbe0557 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 64bc814..3787103 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 948996e..931d8a8 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 bb9e8ae..e0a1b29 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 8bb41b5..21f31b9 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 c8242f2..a68f6b5 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 327a9ca..50bce15 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 5268d14..2cc4155 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 39df36f..2af39f6 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 20bbac2..981fc6f 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 c264257..b134e23 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 f2a2365..4d5f68f 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 b857312..cfa7d6a 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 048befa..0abdc46 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 757115e..61fb14b 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