Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
hopefully fix the NS3 test
[simgrid.git] / examples / msg / network-ns3 / network-ns3.tesh
index 2605818..a97d671 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p In the NS3 tests, the timings are not shown because the exact values may vary with your NS3 version. 
 p We just want to check that the NS3 bindings of SimGrid are working correctly, we don't want to thoroughly test NS3.
@@ -26,16 +26,10 @@ $ ${bindir:=.}/network-ns3/network-ns3 ${platfdir}/small_platform_one_link_route
 
 p One cluster
 
-$ ${bindir:=.}/network-ns3/network-ns3 ${platfdir}/cluster.xml ${srcdir}/network-ns3/one_cluster_d.xml --cfg=network/model:NS3 "--log=root.fmt:[%h:%P(%i)]%e[%c/%p]%e%m%n"
+$ ${bindir:=.}/network-ns3/network-ns3 ${platfdir}/cluster_backbone.xml ${srcdir}/network-ns3/one_cluster_d.xml --cfg=network/model:NS3 "--log=root.fmt:[%h:%P(%i)]%e[%c/%p]%e%m%n"
 > [:maestro(0)] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'NS3'
 > [node-6.acme.org:worker(2)] [msg_test/INFO] FLOW[1] : Receive 100 bytes from node-2.acme.org to node-6.acme.org
 
-p Two clusters
-
-$ ${bindir:=.}/network-ns3/network-ns3 ${platfdir}/two_clusters.xml ${srcdir}/network-ns3/two_clusters_d.xml --cfg=network/model:NS3 "--log=root.fmt:[%h:%P(%i)]%e[%c/%p]%e%m%n"
-> [:maestro(0)] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'NS3'
-> [node-16.acme.org:worker(2)] [msg_test/INFO] FLOW[1] : Receive 100 bytes from node-3.acme.org to node-16.acme.org
-
 p Dogbone
 
 ! timeout 10