Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix hash update.
[simgrid.git] / teshsuite / smpi / macro-shared / macro-shared.tesh
index 2a79f0996c7ea959032d051ac180f44df6084c42..6eb375a4b87581f1b903a30b3177fe4294536d91 100644 (file)
@@ -1,5 +1,4 @@
 p Test compute
-! setenv LD_LIBRARY_PATH=../../lib
 ! output sort
 ! timeout 5
 $ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ../hostfile -platform ../../../examples/platforms/small_platform.xml -np 4 ${bindir:=.}/macro-shared --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning
@@ -13,4 +12,17 @@ $ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ../hostfile -platform
 > [3] The value in the shared buffer is: 4
 > hashing !
 
+! output sort
+! timeout 5
+$ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ../hostfile -platform ../../../examples/platforms/small_platform.xml -np 4 ${bindir:=.}/macro-shared --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/shared-malloc:local
+> [0] After change, the value in the shared buffer is: 16053117601147974045
+> [0] The value in the shared buffer is: 4
+> [1] After change, the value in the shared buffer is: 16053117601147974045
+> [1] The value in the shared buffer is: 4
+> [2] After change, the value in the shared buffer is: 16053117601147974045
+> [2] The value in the shared buffer is: 4
+> [3] After change, the value in the shared buffer is: 16053117601147974045
+> [3] The value in the shared buffer is: 4
+> hashing !
+