Renamed ConfigFiles to TestSpecs
authorGeorge Milescu <george.milescu@gmail.com>
Mon, 9 Aug 2010 08:34:59 +0000 (10:34 +0200)
committerGeorge Milescu <george.milescu@gmail.com>
Mon, 9 Aug 2010 08:34:59 +0000 (10:34 +0200)
Signed-off-by: George Milescu <george.milescu@gmail.com>
58 files changed:
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/parse_client_log.sh
ControlScripts/run_campaign.sh
ControlScripts/run_scenario.sh
ControlScripts/schedule_client.sh
ControlScripts/start_tracker.sh
ControlScripts/stop_client.sh
TestSpecs/.gitignore [moved from ConfigFiles/.gitignore with 100% similarity]
TestSpecs/campaign01.cfg [moved from ConfigFiles/campaign01.cfg with 100% similarity]
TestSpecs/campaign01.html [moved from ConfigFiles/campaign01.html with 100% similarity]
TestSpecs/campaign02.cfg [moved from ConfigFiles/campaign02.cfg with 100% similarity]
TestSpecs/campaign02.html [moved from ConfigFiles/campaign02.html with 100% similarity]
TestSpecs/client_script_mappings [moved from ConfigFiles/client_script_mappings with 100% similarity]
TestSpecs/globalconfig [moved from ConfigFiles/globalconfig with 98% similarity]
TestSpecs/scenario01.cfg [moved from ConfigFiles/scenario01.cfg with 100% similarity]
TestSpecs/scenario01.r [moved from ConfigFiles/scenario01.r with 100% similarity]
TestSpecs/scenario02.cfg [moved from ConfigFiles/scenario02.cfg with 100% similarity]
TestSpecs/scenario02.r [moved from ConfigFiles/scenario02.r with 100% similarity]
TestSpecs/scenario03.cfg [moved from ConfigFiles/scenario03.cfg with 100% similarity]
TestSpecs/scenario03.r [moved from ConfigFiles/scenario03.r with 100% similarity]
TestSpecs/scenario04.cfg [moved from ConfigFiles/scenario04.cfg with 100% similarity]
TestSpecs/scenario04.r [moved from ConfigFiles/scenario04.r with 100% similarity]
TestSpecs/scenario05.cfg [moved from ConfigFiles/scenario05.cfg with 100% similarity]
TestSpecs/scenario05.r [moved from ConfigFiles/scenario05.r with 100% similarity]
TestSpecs/scenario06.cfg [moved from ConfigFiles/scenario06.cfg with 100% similarity]
TestSpecs/scenario06.r [moved from ConfigFiles/scenario06.r with 100% similarity]
TestSpecs/scenario07.cfg [moved from ConfigFiles/scenario07.cfg with 100% similarity]
TestSpecs/scenario07.r [moved from ConfigFiles/scenario07.r with 100% similarity]
TestSpecs/scenario08.cfg [moved from ConfigFiles/scenario08.cfg with 100% similarity]
TestSpecs/scenario08.r [moved from ConfigFiles/scenario08.r with 100% similarity]
TestSpecs/scenario09.cfg [moved from ConfigFiles/scenario09.cfg with 100% similarity]
TestSpecs/scenario09.r [moved from ConfigFiles/scenario09.r with 100% similarity]
TestSpecs/scenario101ct.cfg [moved from ConfigFiles/scenario101ct.cfg with 100% similarity]
TestSpecs/scenario101ct.r [moved from ConfigFiles/scenario101ct.r with 100% similarity]
TestSpecs/scenario102ct.cfg [moved from ConfigFiles/scenario102ct.cfg with 100% similarity]
TestSpecs/scenario102ct.r [moved from ConfigFiles/scenario102ct.r with 100% similarity]
TestSpecs/test-campaign.cfg [moved from ConfigFiles/test-campaign.cfg with 100% similarity]
TestSpecs/test-campaign.html [moved from ConfigFiles/test-campaign.html with 100% similarity]
TestSpecs/test-scenario-pre-post-nop.cfg [moved from ConfigFiles/test-scenario-pre-post-nop.cfg with 100% similarity]
TestSpecs/test-scenario-pre-post-nop.r [moved from ConfigFiles/test-scenario-pre-post-nop.r with 100% similarity]
TestSpecs/test-scenario-pre-post.cfg [moved from ConfigFiles/test-scenario-pre-post.cfg with 100% similarity]
TestSpecs/test-scenario-pre-post.r [moved from ConfigFiles/test-scenario-pre-post.r with 100% similarity]
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 69265b0..ece7307 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 7d979cf..0418677 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index ff14157..bf28ed3 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 1c38bee..9f9c37e 100755 (executable)
 # Read the global configuration file
 # Check if the global configuration file exists
 echo "pwd=$(pwd)"
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 2cd8cbb..55c3725 100755 (executable)
@@ -21,10 +21,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read the node-specific configuration file
index b85ddf0..1cbb18c 100755 (executable)
 # Read the global configuration file
 # Check if the global configuration file exists
 echo "pwd=$(pwd)"
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read the node-specific configuration file (TORRENT_FILE)
index 972dc3c..12a6f05 100755 (executable)
@@ -18,10 +18,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/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 ../ConfigFiles/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../ConfigFiles/client_script_mappings does not exist."
+if [ ! -e ../TestSpecs/client_script_mappings ]; then
+       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
 else
-       source ../ConfigFiles/client_script_mappings
+       source ../TestSpecs/client_script_mappings
 fi
 
 log_file=$1
index b450408..4989a6f 100755 (executable)
@@ -18,18 +18,18 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read client mappings configuration file
 # Check if the client mappings configuration file exists
-if [ ! -e ../ConfigFiles/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../ConfigFiles/client_script_mappings does not exist."
+if [ ! -e ../TestSpecs/client_script_mappings ]; then
+       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
 else
-       source ../ConfigFiles/client_script_mappings
+       source ../TestSpecs/client_script_mappings
 fi
 
 client_type=$1
index 676e9ed..3f03b30 100755 (executable)
@@ -19,10 +19,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read arguments
index c3b17a7..64bc814 100755 (executable)
@@ -39,10 +39,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 # Read arguments
index 9c3fe63..948996e 100755 (executable)
@@ -12,10 +12,10 @@ _DEBUG="off"
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/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 ../ConfigFiles/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../ConfigFiles/client_script_mappings does not exist."
+if [ ! -e ../TestSpecs/client_script_mappings ]; then
+       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
 else
-       source ../ConfigFiles/client_script_mappings
+       source ../TestSpecs/client_script_mappings
 fi
 
 client_pid=0
index c1f2450..bb9e8ae 100755 (executable)
@@ -9,10 +9,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 export PYTHONPATH=$PYTHONPATH:.
index d4d7b3f..8bb41b5 100755 (executable)
@@ -12,10 +12,10 @@ _DEBUG="off"
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/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 ../ConfigFiles/client_script_mappings ]; then
-       echo "Warning: The client mappings config file ../ConfigFiles/client_script_mappings does not exist."
+if [ ! -e ../TestSpecs/client_script_mappings ]; then
+       echo "Warning: The client mappings config file ../TestSpecs/client_script_mappings does not exist."
 else
-       source ../ConfigFiles/client_script_mappings
+       source ../TestSpecs/client_script_mappings
 fi
 
 stop_client ${CLIENT_TYPE}
similarity index 100%
rename from ConfigFiles/.gitignore
rename to TestSpecs/.gitignore
similarity index 98%
rename from ConfigFiles/globalconfig
rename to TestSpecs/globalconfig
index 9bf948b..ab847a4 100644 (file)
@@ -38,7 +38,7 @@ WORKING_FOLDER_REL_PATH="../../P2P-Testing-Infrastructure/ClientWorkingFolders"
 BITTORNADO_REL_PATH="../../BTclients/BitTornado/BitTornado-CVS"
 
 # CONFIG_FILES_REL_PATH is relative to ControlScripts folder - used by run_scenario.sh
-CONFIG_FILES_REL_PATH="../ConfigFiles"
+CONFIG_FILES_REL_PATH="../TestSpecs"
 
 # CONFIG_FILES_REL_PATH is relative to ControlScripts folder - used by run_campaign.sh
 RESULTS_FOLDER_REL_PATH="../Results"
index 04755e7..c8242f2 100755 (executable)
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 cd $TRIBLER_UTIL_REL_PATH
index dd3e962..327a9ca 100755 (executable)
@@ -9,10 +9,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 export PYTHONPATH=$PYTHONPATH:.
index 74e879b..5268d14 100755 (executable)
@@ -9,10 +9,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../../../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../../../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../../../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../../../TestSpecs/globalconfig does not exist."
 else
-       source ../../../ConfigFiles/globalconfig
+       source ../../../TestSpecs/globalconfig
 fi
 
 export PYTHONPATH=$PYTHONPATH:.
index 3e67e7d..39df36f 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH p2p@p2p-next-01.grid.pub.ro:/home/p2p/george/P2P-Next
index d82bd91..20bbac2 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/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 eb34a3b..c264257 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH george@p2p-next.xen.ssvl.kth.se:/home/george/P2P-Next
index 6197d72..f2a2365 100755 (executable)
@@ -10,10 +10,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 host=$1
index c167310..b857312 100755 (executable)
@@ -10,10 +10,10 @@ fi
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 host=$1
@@ -21,4 +21,4 @@ port=$2
 
 echo "Syncing $host $port"
 rsync -avP --del --rsh='ssh -p'$port $P2P_NEXT_REL_PATH/P2P-Testing-Infrastructure/ControlScripts p2p@$host:/home/p2p/george/P2P-Testing-Infrastructure/ > /dev/null
-rsync -avP --del --rsh='ssh -p'$port $P2P_NEXT_REL_PATH/P2P-Testing-Infrastructure/ConfigFiles p2p@$host:/home/p2p/george/P2P-Testing-Infrastructure/ > /dev/null
+rsync -avP --del --rsh='ssh -p'$port $P2P_NEXT_REL_PATH/P2P-Testing-Infrastructure/TestSpecs p2p@$host:/home/p2p/george/P2P-Testing-Infrastructure/ > /dev/null
index 698aff7..048befa 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH george@swarm.cs.pub.ro:/home/george/P2P-Next
index 81d4478..757115e 100755 (executable)
@@ -5,10 +5,10 @@
 
 # Read the global configuration file
 # Check if the global configuration file exists
-if [ ! -e ../ConfigFiles/globalconfig ]; then
-       echo "Warning: The global config file ../ConfigFiles/globalconfig does not exist."
+if [ ! -e ../TestSpecs/globalconfig ]; then
+       echo "Warning: The global config file ../TestSpecs/globalconfig does not exist."
 else
-       source ../ConfigFiles/globalconfig
+       source ../TestSpecs/globalconfig
 fi
 
 rsync -avP --del $P2P_NEXT_REL_PATH george@tracker.local:/home/george/P2P-Next