pimsm_scenario2.test 1.4 KB

123456789101112131415161718192021222324252627282930
  1. %description:
  2. Testing the number of received multicast datagrams in examples/pim/sm/ simulation.
  3. %#--------------------------------------------------------------------------------------------------------------
  4. %testprog: opp_run
  5. %extraargs: -c Scenario2
  6. %#--------------------------------------------------------------------------------------------------------------
  7. %inifile: omnetpp.ini
  8. [General]
  9. ned-path = .;../../../../src;../../../../examples
  10. sim-time-limit = 120s
  11. output-scalar-file = test.sca
  12. **.udpApp[*].sentPk*.scalar-recording = true
  13. **.udpApp[*].rcvdPk*.scalar-recording = true
  14. **.scalar-recording = false
  15. **.vector-recording = false
  16. **.configurator.config = xmldoc("../../../../examples/pim/sm/basic/networkConfig.xml")
  17. include ../../../../examples/pim/sm/basic/omnetpp.ini
  18. %#--------------------------------------------------------------------------------------------------------------
  19. %contains-regex: test.sca
  20. scalar PIM_SM_Network.Source1.udpApp\[0\]\s+sentPk:count\s+20\n
  21. %#--------------------------------------------------------------------------------------------------------------
  22. %contains-regex: test.sca
  23. scalar PIM_SM_Network.Receiver1.udpApp\[0\]\s+rcvdPk:count\s+4\n
  24. %#--------------------------------------------------------------------------------------------------------------
  25. %contains-regex: test.sca
  26. scalar PIM_SM_Network.Receiver2.udpApp\[0\]\s+rcvdPk:count\s+5\n