Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into v3.20-expose-simgrid-jni
[simgrid.git] / examples / s4u / io-async / s4u-io-async.tesh
1 #!/usr/bin/env tesh
2
3 $ $SG_TEST_EXENV ${bindir:=.}/s4u-io-async$EXEEXT ${platfdir}/storage/storage.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
4 > [  0.000000] (1:test@bob) Hello! read 20000000 bytes from Storage Disk1
5 > [  0.000000] (2:test_cancel@alice) Hello! write 50000000 bytes from Storage Disk2
6 > [  0.200000] (1:test@bob) Goodbye now!
7 > [  0.500000] (2:test_cancel@alice) I changed my mind, cancel!
8 > [  0.500000] (2:test_cancel@alice) Goodbye now!
9 > [  0.500000] (0:maestro@) Simulation time 0.5