From 9db1cd07e3c82e5dd149dacdb20c0135fa1eea19 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Tue, 26 Feb 2008 01:08:58 +0100 Subject: [PATCH] merge --- src/core/config.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/core/config.cc b/src/core/config.cc index 29fb7e33c..8079c8875 100644 --- a/src/core/config.cc +++ b/src/core/config.cc @@ -601,9 +601,16 @@ ConfigTest::RunTests (void) NS_TEST_ASSERT_EQUAL (v.Get (), -16); v = d3->GetAttribute ("A"); NS_TEST_ASSERT_EQUAL (v.Get (), -16); + Config::Set ("/NodeA/NodeB/NodesB/[0-1]|3/A", Integer (-16)); + v = d0->GetAttribute ("A"); + NS_TEST_ASSERT_EQUAL (v.Get (), -16); + v = d1->GetAttribute ("A"); + NS_TEST_ASSERT_EQUAL (v.Get (), -15); + v = d2->GetAttribute ("A"); + NS_TEST_ASSERT_EQUAL (v.Get (), -16); + v = d3->GetAttribute ("A"); + NS_TEST_ASSERT_EQUAL (v.Get (), -16); - - return result;