This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug documentation/11224] setting module arguments needs to be tested/documented


------- Additional Comments From chwang at redhat dot com  2010-02-03 16:22 -------
Created an attachment (id=4570)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4570&action=view)
Short test framework for module arguments

Wrote a quick little test framework for module arguments.

Workflow:

Create testsuite/modargs/test.stp (see attached one.stp for example)
In the .stp file:
Echo expected result to modargs/result
Echo arguments to modargs/args
Use stap -p4 -m test to create a module called test.ko

Then just run modargs.exp and it should handle the rest. Will check that module
can be created and then that the module returns the expected result.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11224

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]