This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug documentation/11224] setting module arguments needs to be tested/documented
- From: "chwang at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 3 Feb 2010 16:22:57 -0000
- Subject: [Bug documentation/11224] setting module arguments needs to be tested/documented
- References: <20100126221502.11224.dsmith@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.