From cbe3cead527977a853f966bb186a51cdd870ac5e Mon Sep 17 00:00:00 2001 From: quasar Date: Fri, 2 Nov 2007 09:01:55 +0000 Subject: [PATCH] Update msg property test git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4959 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- examples/msg/Makefile.am | 2 +- examples/msg/properties/msg_prop.tesh | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 examples/msg/properties/msg_prop.tesh diff --git a/examples/msg/Makefile.am b/examples/msg/Makefile.am index 87cb091288..d71b491da2 100644 --- a/examples/msg/Makefile.am +++ b/examples/msg/Makefile.am @@ -38,7 +38,7 @@ TESTS = sendrecv/sendrecv_KCCFLN05.tesh \ masterslave/masterslave_bypass.tesh \ parallel_task/parallel_task.tesh \ priority/priority.tesh \ - properties/msg_test.tesh + properties/msg_prop.tesh if HAVE_SDP diff --git a/examples/msg/properties/msg_prop.tesh b/examples/msg/properties/msg_prop.tesh new file mode 100644 index 0000000000..9f0bd60ca1 --- /dev/null +++ b/examples/msg/properties/msg_prop.tesh @@ -0,0 +1,13 @@ +#! ./tesh + +p Testing a MSG application with properties in the XML for Hosts, Links and Processes + +$ $SG_TEST_EXENV /properties/msg_prop$EXEEXT ${srcdir:=.}/properties/deployment_platform.xml ${srcdir:=.}/properties/deployment_properties.xml +> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] Property: mem for host: Boivin has value: 654321 +> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] Property: disk for host: Boivin has value: 123456 +> [Jacquelin:master:(1) 0.000000] [msg_test/INFO] Property: Unknown for host Boivin is undefined +> [Boivin:slave:(2) 0.303833] [msg_test/INFO] Received "Task_0" +> [Boivin:slave:(2) 0.303833] [msg_test/INFO] Property: SomeProp for process slave has value: SomeValue +> [Boivin:slave:(2) 0.303833] [msg_test/INFO] Property: UnknownProcessProp for process slave is undefined +> [Boivin:slave:(2) 0.814139] [msg_test/INFO] Received "finalize" +> [0.814139] [msg_test/INFO] Simulation time 0.814139 -- 2.20.1