Bug 21802 - improve the syscall/nd_syscall test cases
Summary: improve the syscall/nd_syscall test cases
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-20 16:23 UTC by David Smith
Modified: 2017-08-11 18:09 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2017-07-20 16:23:31 UTC
The testsuite/systemtap.examples/check.exp test case has the following feature:

# To restrict scripts to test, set the CHECK_ONLY environment variable.
# For example, to only test the badname and fntimes scripts, run:
#
#    make installcheck RUNTESTFLAGS="check.exp" CHECK_ONLY="badname fntimes"

It would be nice if the testsuite/systemtap.syscall/syscall.exp and testsuite/systemtap.syscall/nd_syscall.exp test cases supported something similar to allow testing of only certain syscalls. It would look something like:

    make installcheck RUNTESTFLAGS=syscall.exp CHECK_ONLY="accept4 getgroups"
Comment 1 David Smith 2017-08-11 18:09:57 UTC
Fixed in commit d7f4bef.