pimdm_example.test 1.3 KB

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