Skip to content

Need a test script #141

@flaviojs

Description

@flaviojs

I don't use this software so I'm asking help from anyone that uses it.

Requirements of the script:

  • uses a regular dynamips executable (no extra code changes)
  • no gui or user interaction, to be executed from the console as part of automated tests (I'm in a 64-bit linux)
  • it must assert that a router capability worked (maybe send a packet from A to B?, starting up is not enough)

Optional, would be nice to have:

  • cleanup leftovers so the next run occurs in the same conditions
  • report the amount of clock time it took to complete the task
  • report the amount of cpu time it took to complete the task
  • report the amount of memory it needed to complete the task
  • use an easy-to-modify setup or language (like python)
  • minimize dependencies

Long story:

I'm playing around with rust in this project. After a few tries I arrived at a nice solution. I have access to the public structures and functions that the C code provides and can easily replace any C function with a rust function.

I make mistakes all the time, so I need a baseline test to avoid the accumulation of mistakes that comes with blind development. My focus/interest is the virtual hardware, which I want to experiment with, possibly complete or fix.

It sucks to see this project with security bugs, but I'm not gonna touch C code unless someone integrates Coverity Scan or similar into the CI (so I can see a list of bugs).
I find C to be very error-prone, I don't intend to repeat that frustrating development experience now that I know rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions