Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Somehow fix the killing of actors in Java
[simgrid.git] / examples / java / app / bittorrent / app-bittorrent.tesh
index 0f86b8c..c9608c6 100644 (file)
@@ -1,11 +1,11 @@
-#! tesh
+#!/usr/bin/env tesh
 
 ! output sort 19
 ! timeout 15
 
 $ java -classpath ${classpath:=.} app/bittorrent/Main ${srcdir:=.}/../platforms/cluster.xml ${srcdir:=.}/app/bittorrent/bittorrent.xml
 > [0.000000] [java/INFO] Using regular java threads.
-> [5000.046836] [java/INFO] MSG_main finished; Cleaning up the simulation...
+> [5000.046836] [java/INFO] MSG_main finished; Terminating the simulation...
 > [node-0.acme.org:app.bittorrent.Tracker:(1) 0.000000] [java/INFO] Tracker launched.
 > [node-0.acme.org:app.bittorrent.Tracker:(1) 3000.000000] [java/INFO] Tracker is leaving
 > [node-1.acme.org:app.bittorrent.Peer:(2) 0.000000] [java/INFO] Hi, I'm joining the network with id 2