Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[#!] #! ./tesh -> #!/usr/bin/env tesh
authorMillian Poquet <millian.poquet@inria.fr>
Thu, 1 Feb 2018 12:48:56 +0000 (13:48 +0100)
committerMillian Poquet <millian.poquet@inria.fr>
Thu, 1 Feb 2018 12:48:56 +0000 (13:48 +0100)
find . \
    -type f \
    -not -iwholename '*.git*' \
    -exec sed -i -e 'sW#!\s*\./teshW#!/usr/bin/env teshWg' {} \;

132 files changed:
examples/java/app/tokenring/app-tokenring.tesh
examples/msg/app-masterworker/app-masterworker-multicore.tesh
examples/msg/app-masterworker/app-masterworker-vivaldi.tesh
examples/msg/app-masterworker/app-masterworker.tesh
examples/msg/cloud-masterworker/cloud-masterworker.tesh
examples/msg/dht-kademlia/dht-kademlia.tesh
examples/msg/dht-pastry/dht-pastry.tesh
examples/msg/energy-vm/energy-vm.tesh
examples/msg/maestro-set/maestro-set.tesh
examples/msg/mc/bugged1.tesh
examples/msg/mc/bugged1_liveness.tesh
examples/msg/mc/bugged1_liveness_sparse.tesh
examples/msg/mc/bugged1_liveness_visited.tesh
examples/msg/mc/bugged1_liveness_visited_sparse.tesh
examples/msg/mc/bugged2.tesh
examples/msg/mc/centralized_mutex.tesh
examples/msg/network-ns3/network-ns3.tesh
examples/msg/platform-failures/platform-failures.tesh
examples/msg/process-create/process-create.tesh
examples/msg/synchro-semaphore/synchro-semaphore.tesh
examples/msg/trace-categories/trace-categories.tesh
examples/msg/trace-host-user-variables/trace-host-user-variables.tesh
examples/msg/trace-link-user-variables/trace-link-user-variables.tesh
examples/msg/trace-masterworker/trace-masterworker.tesh
examples/msg/trace-process-migration/trace-process-migration.tesh
examples/msg/trace-route-user-variables/trace-route-user-variables.tesh
examples/s4u/actor-create/s4u-actor-create.tesh
examples/s4u/actor-daemon/s4u-actor-daemon.tesh
examples/s4u/actor-kill/s4u-actor-kill.tesh
examples/s4u/actor-lifetime/s4u-actor-lifetime.tesh
examples/s4u/actor-migration/s4u-actor-migration.tesh
examples/s4u/actor-suspend/s4u-actor-suspend.tesh
examples/s4u/actor-yield/s4u-actor-yield.tesh
examples/s4u/app-bittorrent/s4u-app-bittorrent.tesh
examples/s4u/app-chainsend/s4u-app-chainsend.tesh
examples/s4u/app-masterworker/s4u-app-masterworker.tesh
examples/s4u/app-pingpong/s4u-app-pingpong.tesh
examples/s4u/app-token-ring/s4u-app-token-ring.tesh
examples/s4u/async-wait/s4u-async-wait.tesh
examples/s4u/async-waitall/s4u-async-waitall.tesh
examples/s4u/async-waitany/s4u-async-waitany.tesh
examples/s4u/cloud-simple/s4u-cloud-simple.tesh
examples/s4u/dht-chord/s4u-dht-chord.tesh
examples/s4u/dht-kademlia/s4u-dht-kademlia.tesh
examples/s4u/energy-boot/s4u-energy-boot.tesh
examples/s4u/energy-exec/s4u-energy-exec.tesh
examples/s4u/energy-link/s4u-energy-link.tesh
examples/s4u/energy-vm/s4u-energy-vm.tesh
examples/s4u/exec-async/s4u-exec-async.tesh
examples/s4u/exec-basic/s4u-exec-basic.tesh
examples/s4u/exec-dvfs/s4u-exec-dvfs.tesh
examples/s4u/exec-monitor/s4u-exec-monitor.tesh
examples/s4u/exec-ptask/s4u-exec-ptask.tesh
examples/s4u/exec-remote/s4u-exec-remote.tesh
examples/s4u/io-file-remote/s4u-io-file-remote.tesh
examples/s4u/io-file-system/s4u-io-file-system.tesh
examples/s4u/io-storage-raw/s4u-io-storage-raw.tesh
examples/s4u/mutex/s4u-mutex.tesh
examples/s4u/platform-properties/s4u-platform-properties.tesh
examples/s4u/plugin-hostload/s4u-plugin-hostload.tesh
examples/s4u/trace-platform/s4u-trace-platform.tesh
examples/simdag/availability/sd_availability.tesh
examples/simdag/dag-dotload/sd_dag-dotload.tesh
examples/simdag/daxload/sd_daxload.tesh
examples/simdag/fail/sd_fail.tesh
examples/simdag/properties/sd_properties.tesh
examples/simdag/ptg-dotload/sd_ptg-dotload.tesh
examples/simdag/schedule-dotload/sd_schedule-dotload.tesh
examples/simdag/scheduling/sd_scheduling.tesh
examples/simdag/test/sd_test.tesh
examples/simdag/throttling/sd_throttling.tesh
examples/simdag/typed_tasks/sd_typed_tasks.tesh
examples/smpi/mc/non_deterministic.tesh
examples/smpi/mc/only_send_deterministic.tesh
teshsuite/mc/dwarf-expression/dwarf-expression.tesh
teshsuite/mc/dwarf/dwarf.tesh
teshsuite/msg/app-bittorrent/app-bittorrent.tesh
teshsuite/msg/app-chainsend/app-chainsend.tesh
teshsuite/msg/app-pingpong/app-pingpong.tesh
teshsuite/msg/app-token-ring/app-token-ring.tesh
teshsuite/msg/async-wait/async-wait.tesh
teshsuite/msg/async-waitall/async-waitall.tesh
teshsuite/msg/async-waitany/async-waitany.tesh
teshsuite/msg/cloud-sharing/cloud-sharing.tesh
teshsuite/msg/cloud-simple/cloud-simple.tesh
teshsuite/msg/cloud-two-tasks/cloud-two-tasks.tesh
teshsuite/msg/energy-consumption/energy-consumption.tesh
teshsuite/msg/energy-pstate/energy-pstate.tesh
teshsuite/msg/energy-ptask/energy-ptask.tesh
teshsuite/msg/io-file-remote/io-file-remote.tesh
teshsuite/msg/io-file/io-file.tesh
teshsuite/msg/io-raw-storage/io-raw-storage.tesh
teshsuite/msg/platform-properties/platform-properties.tesh
teshsuite/msg/plugin-hostload/plugin-hostload.tesh
teshsuite/msg/process-daemon/process-daemon.tesh
teshsuite/msg/process-kill/process-kill.tesh
teshsuite/msg/process-lifetime/process-lifetime.tesh
teshsuite/msg/process-migration/process-migration.tesh
teshsuite/msg/process-suspend/process-suspend.tesh
teshsuite/msg/process-yield/process-yield.tesh
teshsuite/msg/task-priority/task-priority.tesh
teshsuite/msg/trace_integration/trace_integration.tesh
teshsuite/simdag/basic-link-test/basic-link-test.tesh
teshsuite/simdag/basic-parsing-test/basic-parsing-test-bypass.tesh
teshsuite/simdag/basic-parsing-test/basic-parsing-test-sym-full.tesh
teshsuite/simdag/flatifier/flatifier.tesh
teshsuite/simdag/is-router/is-router.tesh
teshsuite/surf/lmm_usage/lmm_usage.tesh
teshsuite/surf/maxmin_bench/maxmin_bench_large.tesh
teshsuite/surf/maxmin_bench/maxmin_bench_medium.tesh
teshsuite/surf/maxmin_bench/maxmin_bench_small.tesh
teshsuite/surf/surf_usage/surf_usage.tesh
teshsuite/surf/surf_usage2/surf_usage2.tesh
teshsuite/xbt/log_usage/log_usage.tesh
teshsuite/xbt/log_usage/log_usage_ndebug.tesh
teshsuite/xbt/parmap_bench/parmap_bench.tesh
tools/graphicator/graphicator.tesh
tools/tesh/IO-bigsize.tesh
tools/tesh/basic.tesh
tools/tesh/bg-basic.tesh
tools/tesh/bg-set-signal.tesh
tools/tesh/catch-return.tesh
tools/tesh/catch-signal.tesh
tools/tesh/catch-timeout.tesh
tools/tesh/catch-wrong-output.tesh
tools/tesh/cd.tesh
tools/tesh/generate_tesh
tools/tesh/set-output-ignore.tesh
tools/tesh/set-output-sort.tesh
tools/tesh/set-return.tesh
tools/tesh/set-timeout.tesh
tools/tesh/setenv.tesh

index 73a084d..cef0261 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
index 21623e9..91e3d7a 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a simple master/worker example application (mailbox version)
 
index 6e513c0..e34f10f 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the Kademlia implementation with MSG
 
index 407ac70..d86b3ae 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the Pastry implementation with MSG
 
index 47ba393..b8ab020 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the mechanism for computing host energy consumption in case of VMs
 
index a3914dc..eaa6324 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index 0ff51f6..ae74260 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 ! expect return 1
 ! timeout 20
index 519a86e..50c01be 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 ! expect return 2
 ! timeout 20
index 76be52f..f22813b 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 ! expect return 2
 ! timeout 20
index 4609e75..8f32941 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 ! expect return 1
 ! timeout 20
index ca980b8..52986c4 100644 (file)
@@ -1,3 +1,3 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 $ ${bindir:=.}/centralized_mutex
index 3a1963d..06c497c 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.
index 15732ab..a169ce4 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a simple master/worker example application handling failures TCP crosstraffic DISABLED
 
index 231e769..01f5c97 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Start remote processes 
 $ $SG_TEST_EXENV ${bindir:=.}/process-create$EXEEXT ${platfdir}/small_platform.xml
index 638b58d..fdabdbd 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Tracing multiple categories master/worker application
 
index 6797d79..be7db02 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index af93239..bc6c3d8 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index f8192fd..d6894f8 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index 0a5d7c6..2326be5 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index fe50f9e..7a92175 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index f907ba1..67c1549 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index aff48b5..5f7cb69 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the process daemonization feature
 
index 9e5b0a2..2e31458 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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!
index e8743a1..2f6c5be 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
index 1d6e410..840b482 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the suspend/resume feature of S4U
 
index eab86b4..b61c4f2 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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!
index 541e900..ae84ce8 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the Bittorrent implementation with S4U
 
index 86fc41c..dc325c4 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the chainsend S4U implementation
 
index 99c0f65..0ca64c8 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a simple master/worker example application (mailbox version)
 
index 681a760..a22c51b 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index eaf9810..8f9f795 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Test1 Sleep_sender > Sleep_receiver
 
index 6c3cda3..bdec4c9 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index a764a8c..87e6c25 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a vm with two successive tasks
 
index ee94501..10f9ce6 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the Chord implementation with MSG
 
index ec1a873..b720e41 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the Kademlia implementation with MSG
 
index 6f9f4c9..15f1848 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Modeling the host energy consumption during boot and shutdown
 
index 4848fea..d1b5705 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the mechanism for computing host energy consumption
 
index 5febcd0..1e1c65d 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the mechanism for computing link energy consumption (using CM02 as a network model)
 
index 08f8f4f..3b8b7ac 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the mechanism for computing host energy consumption in case of VMs
 
index 86fcf85..e773738 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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"
index 21f5867..4a45344 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Start remote processes 
 $ $SG_TEST_EXENV ${bindir:=.}/s4u-exec-basic$EXEEXT ${platfdir}/small_platform.xml 
index dd0fe02..4ac2d9b 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the DVFS-related functions
 
index 0aff0bd..45de5dd 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Start several asynchronous tasks and monitor them
 
index a9f86bb..77a383b 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index 3c3cbd3..363fb20 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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"
index 803a1e0..6781b50 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index e89c8e1..303cbb3 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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:
index c72cbb3..65b09de 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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 ***
index 42ef210..ac3127f 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index f5c225a..351105a 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a S4U application with properties in the XML for Hosts, Links and Actors
 
index 03229a8..5eef89c 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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)
 
index 6af7e88..cdd4274 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index 4d667c6..d067977 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Test of the management of availability traces with simdag
 
index 0afa3f4..68337f1 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index 90cc46b..c81779d 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 p Test the DAX loader on a small DAX instance
 
 ! output sort
index e3dc2b1..8bdd96b 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Test of the management of failed tasks simdag
 
index 77be2a2..0377810 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Simple test of simdag with properties
 
index 9b4ec8e..c68786f 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index 4beb06d..d59c985 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 p Test the loader of DAG written in the DOT format
 
 ! expect return 2
index b8b6897..3b063a6 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Simple test of simdag
 
index c0cd2e6..1d5e5b2 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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)
index 9da9ebb..eb9e71a 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 p Usage test of simdag's typed tasks
 
 ! output sort
index a69af43..634c272 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index 74ae1f2..8d70599 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index 0491dad..6c3b12c 100644 (file)
@@ -1,3 +1,3 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 $ $SG_TEST_EXENV ${bindir:=.}/dwarf
index 0908021..fed52d9 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the Bittorrent implementation with MSG
 
index 17097fa..f983dac 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the chainsend MSG implementation
 
index 3ac7058..aa9f5c6 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing with default compound
 
index b8fd34c..00c488e 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index c68fb5a..322ad38 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Test1 MSG_comm_test() with Sleep_sender > Sleep_receiver
 
index 838c2e9..717ac31 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 p Test1 MSG_comm_waitall() for sender
 
 ! output sort 19
index b9f7384..821c1d7 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the MSG_comm_waitany function
 
index a06a44f..052a489 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index cd26fb6..795fb86 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a vm with two successive tasks
 
index f1ba449..58259d2 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the mechanism for computing host energy consumption
 
index 3d915e1..6dddbd6 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the DVFS-related functions
 
index 1a10204..6848fdb 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
index c7377c9..7f3119d 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index aa9b287..636d10e 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index 893abf6..aa11c7b 100644 (file)
@@ -1,4 +1,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 ***
index 079c43b..09bb106 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a MSG application with properties in the XML for Hosts, Links and Processes
 
index 1ae59cc..0cb5cfa 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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)
 
index 91cf79e..226fbdf 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the process daemonization feature of MSG
 
index 7b20fb9..f20a32d 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing a MSG_process_kill function
 
index b3e0962..a7f41fc 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Testing the suspend/resume feature of MSG
 
index d4d18cd..458bfed 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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!
index 0e8d6f2..5679db9 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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"
index d3b9e30..c60d191 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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
index a68f72c..c52ace0 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
index dffd43c..12a911e 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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"
index 1fd4bbf..8d0565a 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'?>
index 80d0a67..d1d27f7 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
index 377da7a..2a98cd4 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 $ $SG_TEST_EXENV ${bindir:=.}/lmm_usage
 > [0.000000] [surf_test/INFO] ***** Test 1 (Max-Min)
index c1b1e07..d9f1ca2 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index 3431333..26ed8c7 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index eace392..6e56862 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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"
index bbfa13a..c9f7f1e 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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 ''
index ebd0bf9..f08a8e3 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 $ $SG_TEST_EXENV ${bindir:=.}/parmap_bench
 >
index 2096fcb..eec5619 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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'
index f6e79f9..926f53c 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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).
index db3d8f7..90fb210 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p This is a basic test
 
index 9889856..0bea621 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p This is a basic test
 
index 77adcad..1001183 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
 
index b72c2d8..69f6f8f 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 # This suite builds and uses a program returning 1.
 # tesh must detect this condition and report the issue.
 
index 49a54c6..2799b4f 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
 
index 5cde56c..0bee596 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 # This suite must be functional because we changed the timeout value to 10
 # before sleeping 6 secs.
index 05ccc57..08cfa6c 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p This tests whether TESH detects wrong outputs
 
index f043014..cca9dad 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 # This example uses the cd command
 
index af5b032..5306bf7 100755 (executable)
@@ -5,7 +5,7 @@ command="$1"
 output=$(sh -c "$command" 2>&1)
 return=$?
 
-tesh="#! ./tesh
+tesh="#!/usr/bin/env tesh
 
 ! expect return $return
 $ $command
index 04da086..259421d 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p This tests whether TESH accepts to ignore command output
 
index 0e871aa..d1d3cde 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p This tests whether TESH correctly sorts command output
 
index 4ff5698..04d71c3 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.
 
index 1ba153f..9cb0e99 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 # This suite must be functional because we changed the timeout value to 10
 # before sleeping 6 secs.
index d596375..8131982 100644 (file)
@@ -1,4 +1,4 @@
-#! ./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.