-#! ./tesh
+#!/usr/bin/env tesh
$ java -classpath ${classpath:=.} app/tokenring/Main ${srcdir:=.}/../platforms/routing_cluster.xml '--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n'
> [ 0.000000] (0:maestro@) Using regular java threads.
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a simple master/worker example application
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a simple master/worker example application
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a simple master/worker example application (mailbox version)
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the Cloud API with a simple master/workers
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the Kademlia implementation with MSG
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the Pastry implementation with MSG
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the mechanism for computing host energy consumption in case of VMs
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV maestro-set/maestro-set$EXEEXT ${srcdir:=.}/../platforms/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:maestro@) I am not the main thread, as expected
-#! ./tesh
+#!/usr/bin/env tesh
! expect return 1
! timeout 20
-#! ./tesh
+#!/usr/bin/env tesh
! expect return 2
! timeout 20
-#! ./tesh
+#!/usr/bin/env tesh
! expect return 2
! timeout 20
-#! ./tesh
+#!/usr/bin/env tesh
! expect return 2
! timeout 20
-#! ./tesh
+#!/usr/bin/env tesh
! expect return 2
! timeout 20
-#! ./tesh
+#!/usr/bin/env tesh
! expect return 1
! timeout 20
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/centralized_mutex
-#! ./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.
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a simple master/worker example application handling failures TCP crosstraffic DISABLED
-#! ./tesh
+#!/usr/bin/env tesh
p Start remote processes
$ $SG_TEST_EXENV ${bindir:=.}/process-create$EXEEXT ${platfdir}/small_platform.xml
-#! ./tesh
+#!/usr/bin/env tesh
p Testing synchronization with semaphores
-#! ./tesh
+#!/usr/bin/env tesh
p Tracing multiple categories master/worker application
-#! ./tesh
+#!/usr/bin/env tesh
p Tracing user variables for hosts
$ $SG_TEST_EXENV ${bindir:=.}/trace-host-user-variables$EXEEXT --cfg=tracing:yes --cfg=tracing/platform:yes ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
-#! ./tesh
+#!/usr/bin/env tesh
p Trace user variables associated to links of the platform file
$ $SG_TEST_EXENV ${bindir:=.}/trace-link-user-variables$EXEEXT --cfg=tracing:yes --cfg=tracing/platform:yes ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
-#! ./tesh
+#!/usr/bin/env tesh
p Tracing master/worker application
$ $SG_TEST_EXENV ${bindir:=.}/trace-masterworker$EXEEXT --cfg=tracing:yes --cfg=tracing/buffer:yes --cfg=tracing/filename:trace-masterworker.trace --cfg=tracing/categorized:yes --cfg=tracing/uncategorized:yes ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
-#! ./tesh
+#!/usr/bin/env tesh
p Tracing processes
$ $SG_TEST_EXENV ${bindir:=.}/trace-process-migration$EXEEXT --cfg=tracing:yes --cfg=tracing/buffer:yes --cfg=tracing/filename:procmig.trace --cfg=tracing/msg/process:yes ${platfdir}/small_platform.xml
-#! ./tesh
+#!/usr/bin/env tesh
p Trace user variables associated to links of the platform file
$ $SG_TEST_EXENV ${bindir:=.}/trace-route-user-variables$EXEEXT --cfg=tracing:yes --cfg=tracing/platform:yes ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-actor-create
> [Tremblay:sender1:(1) 0.000000] [s4u_actor_create/INFO] Hello s4u, I have something to send
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the process daemonization feature
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-actor-kill ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n"
> [ 0.000000] (killer@Tremblay) Hello!
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-actor-lifetime ${platfdir}/cluster.xml s4u-actor-lifetime_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (1:sleeper@node-0.acme.org) Hello! I go to sleep.
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the actor migration feature
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the suspend/resume feature of S4U
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-actor-yield ${platfdir}/small_platform_fatpipe.xml s4u-actor-yield_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (1:yielder@Tremblay) I yielded 10 times. Goodbye now!
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the Bittorrent implementation with S4U
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the chainsend S4U implementation
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a simple master/worker example application (mailbox version)
-#! ./tesh
+#!/usr/bin/env tesh
p Testing with default compound
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-app-token-ring ${platfdir}/routing_cluster.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n"
> [ 0.000000] (maestro@) Number of hosts '6'
-#! ./tesh
+#!/usr/bin/env tesh
p Test1 Sleep_sender > Sleep_receiver
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-async-waitall ${platfdir}/small_platform_fatpipe.xml s4u-async-waitall_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (1:sender@Tremblay) Send 'Message 0' to 'receiver-0'
-#! ./tesh
+#!/usr/bin/env tesh
p Testing this_actor->wait_any()
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a vm with two successive tasks
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the Chord implementation with MSG
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the Kademlia implementation with MSG
-#! ./tesh
+#!/usr/bin/env tesh
p Modeling the host energy consumption during boot and shutdown
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the mechanism for computing host energy consumption
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the mechanism for computing link energy consumption (using CM02 as a network model)
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the mechanism for computing host energy consumption in case of VMs
-#! ./tesh
+#!/usr/bin/env tesh
! output sort 19
$ $SG_TEST_EXENV ${bindir:=.}/s4u-exec-async$EXEEXT ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-#! ./tesh
+#!/usr/bin/env tesh
p Start remote processes
$ $SG_TEST_EXENV ${bindir:=.}/s4u-exec-basic$EXEEXT ${platfdir}/small_platform.xml
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the DVFS-related functions
-#! ./tesh
+#!/usr/bin/env tesh
p Start several asynchronous tasks and monitor them
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/s4u-exec-ptask$EXEEXT ${platfdir}/energy_platform.xml --energy --cfg=host/model:ptask_L07 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'ptask_L07'
-#! ./tesh
+#!/usr/bin/env tesh
! output sort 19
$ $SG_TEST_EXENV ${bindir:=.}/s4u-exec-remote$EXEEXT ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/s4u-io-file-remote$EXEEXT ${platfdir}/storage/remote_io.xml s4u-io-file-remote_d.xml "--log=root.fmt:[%10.6r]%e(%i@%5h)%e%m%n"
> [ 0.000000] (0@ ) Init: 12/476824 MiB used/free on 'Disk1'
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-io-file-system ${platfdir}/storage/storage.xml
> [denise:host:(1) 0.000000] [s4u_test/INFO] Storage info on denise:
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir}/s4u-io-storage-raw$EXEEXT ${platfdir}/storage/storage.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (1:@denise) *** Storage info on denise ***
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/s4u-mutex
> [Jupiter:worker:(2) 0.000000] [s4u_test/INFO] Hello s4u, I'm ready to compute after a lock_guard
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a S4U application with properties in the XML for Hosts, Links and Actors
-#! ./tesh
+#!/usr/bin/env tesh
p This tests the HostLoad plugin (this allows the user to get the current load of a host and the computed flops)
-#! ./tesh
+#!/usr/bin/env tesh
p Tracing platform only
$ $SG_TEST_EXENV ${bindir:=.}/s4u-trace-platform$EXEEXT --cfg=tracing:yes --cfg=tracing/filename:trace_platform.trace --cfg=tracing/categorized:yes ${platfdir}/small_platform.xml
-#! ./tesh
+#!/usr/bin/env tesh
p Test of the management of availability traces with simdag
-#! ./tesh
+#!/usr/bin/env tesh
p Test the loader of DAG written in the DOT format
# The order differ when executed with gcc's thread sanitizer
-#! ./tesh
+#!/usr/bin/env tesh
p Test the DAX loader on a small DAX instance
! output sort
-#! ./tesh
+#!/usr/bin/env tesh
p Test of the management of failed tasks simdag
-#! ./tesh
+#!/usr/bin/env tesh
p Simple test of simdag with properties
-#! ./tesh
+#!/usr/bin/env tesh
p Test the loader of PTG (Parallel Task Graph) written in the DOT format
# The order differ when executed with gcc's thread sanitizer
-#! ./tesh
+#!/usr/bin/env tesh
p Test the loader of DAG written in the DOT format
! expect return 2
-#! ./tesh
+#!/usr/bin/env tesh
p Simple test of simdag
-#! ./tesh
+#!/usr/bin/env tesh
p Simple test of simdag
-#! ./tesh
+#!/usr/bin/env tesh
p Modify the rate of communication tasks even when they are auto-scheduled
# We need to sort this out because the order changes with the sanitizers (at least)
-#! ./tesh
+#!/usr/bin/env tesh
p Usage test of simdag's typed tasks
! output sort
-#! ./tesh
+#!/usr/bin/env tesh
! timeout 60
$ ../../../smpi_script/bin/smpirun -wrapper ${bindir:=.}/../../../bin/simgrid-mc -hostfile ${srcdir:=.}/hostfile_non_deterministic -platform ${srcdir:=.}/../../platforms/cluster.xml --log=xbt_cfg.thresh:warning --cfg=model-check/communications-determinism:1 --cfg=smpi/send-is-detached-thresh:0 --cfg=smpi/host-speed:1e9 ./smpi_non_deterministic
-#! ./tesh
+#!/usr/bin/env tesh
! timeout 60
$ ../../../smpi_script/bin/smpirun -wrapper "${bindir:=.}/../../../bin/simgrid-mc" --log=xbt_cfg.thresh:warning -hostfile ${srcdir:=.}/hostfile_only_send_deterministic -platform ${srcdir:=.}/../../platforms/cluster.xml --cfg=model-check/communications-determinism:1 --cfg=smpi/send-is-detached-thresh:0 --cfg=smpi/host-speed:1e9 ./smpi_only_send_deterministic
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/dwarf-expression
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/dwarf
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the Bittorrent implementation with MSG
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the chainsend MSG implementation
-#! ./tesh
+#!/usr/bin/env tesh
p Testing with default compound
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/app-token-ring ${platfdir}/routing_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:maestro@) Number of hosts '6'
-#! ./tesh
+#!/usr/bin/env tesh
p Test1 MSG_comm_test() with Sleep_sender > Sleep_receiver
-#! ./tesh
+#!/usr/bin/env tesh
p Test1 MSG_comm_waitall() for sender
! output sort 19
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the MSG_comm_waitany function
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${platfdir}/cluster_backbone.xml
> # TEST ON SINGLE-CORE PMs
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a vm with two successive tasks
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a vm with two successive tasks
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the mechanism for computing host energy consumption
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the DVFS-related functions
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/energy-ptask$EXEEXT ${platfdir:=.}/energy_platform.xml --energy "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/io-file-remote$EXEEXT ${platfdir:=.}/storage/remote_io.xml ${srcdir:=.}/io-file-remote_d.xml "--log=root.fmt:[%10.6r]%e(%i@%5h)%e%m%n"
> [ 0.000000] (0@ ) Init: 12/476824 MiB used/free on 'Disk1'
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/io-file ${platfdir}/storage/storage.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:maestro@) Number of host '4'
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir}/io-raw-storage$EXEEXT ${platfdir}/storage/storage.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (1:@denise) *** Storage info on denise ***
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a MSG application with properties in the XML for Hosts, Links and Processes
-#! ./tesh
+#!/usr/bin/env tesh
p This tests the HostLoad plugin (this allows the user to get the current load of a host and the computed flops)
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the process daemonization feature of MSG
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a MSG_process_kill function
-#! ./tesh
+#!/usr/bin/env tesh
p Test0 Process without time
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the migration feature of MSG
-#! ./tesh
+#!/usr/bin/env tesh
p Testing the suspend/resume feature of MSG
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/process-yield ${platfdir}/small_platform_fatpipe.xml ${srcdir:=.}/process-yield_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (1:yielder@Tremblay) I yielded 10 times. Goodbye now!
-#! ./tesh
+#!/usr/bin/env tesh
! output sort 19
$ $SG_TEST_EXENV ${bindir:=.}/task-priority$EXEEXT ${platfdir}/small_platform.xml ${srcdir}/task-priority_d.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-#! ./tesh
+#!/usr/bin/env tesh
p c=cycle s=step p=priority h=host
p Testing trace integration using trace_B.txt and test-hbp1-c0s0-c0s1.xml, test_trace:start == trace_cycle_0_step_0, test_trace:end < trace_cycle_0_step_1
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/basic-link-test ../platforms/one_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
-#! ./tesh
+#!/usr/bin/env tesh
p Testing a bypass ASroute
-#! ./tesh
+#!/usr/bin/env tesh
! output sort
$ ${bindir:=.}/basic-parsing-test ../platforms/one_cluster_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/flatifier$EXEEXT ../platforms/one_cluster.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
> [ 0.000000] [0:maestro@] Switching to the L07 model to handle parallel tasks.
> <?xml version='1.0'?>
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/is-router ${srcdir}/teshsuite/simdag/platforms/test_of_is_router.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
> [ 0.000000] [0:maestro@] Switching to the L07 model to handle parallel tasks.
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/lmm_usage
> [0.000000] [surf_test/INFO] ***** Test 1 (Max-Min)
-#! ./tesh
+#!/usr/bin/env tesh
! timeout 300
! expect return 0
-#! ./tesh
+#!/usr/bin/env tesh
! timeout 50
! expect return 0
-#! ./tesh
+#!/usr/bin/env tesh
! timeout 10
! expect return 0
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/surf_usage ${platfdir}/two_hosts_platform_with_availability.xml
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'cpu/model' to 'Cas01'
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/surf_usage2 ${platfdir}/two_hosts_platform_with_availability.xml
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'CM02'
-#! ./tesh
+#!/usr/bin/env tesh
p Check different log thresholds
$ $SG_TEST_EXENV ${bindir:=.}/log_usage "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/log_usage "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
> [ 0.000000] [0:maestro@] Test with the settings ''
-#! ./tesh
+#!/usr/bin/env tesh
$ $SG_TEST_EXENV ${bindir:=.}/parmap_bench
>
-#! ./tesh
+#!/usr/bin/env tesh
$ ${bindir:=.}/graphicator ${srcdir:=.}/teshsuite/simdag/platforms/one_cluster.xml --cfg=tracing:yes --cfg=tracing/platform:yes test.dot
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
-#! ./tesh
+#!/usr/bin/env tesh
# This suite contains two tests:
# The first one uses a very big input (150k) to check whether trucated input do work.
# The second one uses both a big input and a big output (150k each).
-#! ./tesh
+#!/usr/bin/env tesh
p This is a basic test
-#! ./tesh
+#!/usr/bin/env tesh
p This is a basic test
-#! ./tesh
+#!/usr/bin/env tesh
# This suite builds and uses a program raising a segfault, ie a program dying
# of SIGSEV. tesh must detect this condition and report the issue.
-#! ./tesh
+#!/usr/bin/env tesh
# This suite builds and uses a program returning 1.
# tesh must detect this condition and report the issue.
-#! ./tesh
+#!/usr/bin/env tesh
# This suite builds and uses a program raising a segfault, ie a program dying
# of SIGSEV. tesh must detect this condition and report the issue.
-#! ./tesh
+#!/usr/bin/env tesh
# This suite must be functional because we changed the timeout value to 10
# before sleeping 6 secs.
-#! ./tesh
+#!/usr/bin/env tesh
p This tests whether TESH detects wrong outputs
-#! ./tesh
+#!/usr/bin/env tesh
# This example uses the cd command
output=$(sh -c "$command" 2>&1)
return=$?
-tesh="#! ./tesh
+tesh="#!/usr/bin/env tesh
! expect return $return
$ $command
-#! ./tesh
+#!/usr/bin/env tesh
p This tests whether TESH accepts to ignore command output
-#! ./tesh
+#!/usr/bin/env tesh
p This tests whether TESH correctly sorts command output
-#! ./tesh
+#!/usr/bin/env tesh
# This suite builds and uses a program returning 1.
# tesh is instructed of this return code and must not whine.
-#! ./tesh
+#!/usr/bin/env tesh
# This suite must be functional because we changed the timeout value to 10
# before sleeping 6 secs.
-#! ./tesh
+#!/usr/bin/env tesh
# This suite builds and uses a program returning 1.
# tesh is instructed of this return code and must not whine.