diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-10-08 17:18:51 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-10-08 17:22:52 -0400 |
commit | 6987cb4306107994d06b0e653b9eac97388056bc (patch) | |
tree | e2fd08360ecae16f250243e3e4979438e3aafe2c /testsuite/systemtap.examples/io/ttyspy.meta | |
parent | 2e2516781661f5a4b41e4dc79d423250e057f271 (diff) | |
download | systemtap-steved-6987cb4306107994d06b0e653b9eac97388056bc.tar.gz systemtap-steved-6987cb4306107994d06b0e653b9eac97388056bc.tar.xz systemtap-steved-6987cb4306107994d06b0e653b9eac97388056bc.zip |
testsuite: robustify check_* invocation of examples meta
testsuite/systemtap.examples/
* check.exp (extract_tag): Log extracted tags. Tolerate embedded '$'.
(run_command): Pass through commands to sh -c without eval quoting.
* README: Document "sh -c"-ness of check_* tags.
* *.meta: Fix quoting, add a few check_support predicates.
Diffstat (limited to 'testsuite/systemtap.examples/io/ttyspy.meta')
-rw-r--r-- | testsuite/systemtap.examples/io/ttyspy.meta | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/io/ttyspy.meta b/testsuite/systemtap.examples/io/ttyspy.meta index b190eafd..ea1c9040 100644 --- a/testsuite/systemtap.examples/io/ttyspy.meta +++ b/testsuite/systemtap.examples/io/ttyspy.meta @@ -2,5 +2,6 @@ title: Monitor tty typing. name: ttyspy.stp keywords: io tty per-process monitor description: The ttyspy.stp script uses tty_audit hooks to monitor recent typing activity on the system, printing a scrolling record of recent keystrokes, on a per-tty basis. +test_support: stap -l 'kernel.function("tty_audit_add_data")' test_check: stap -gp4 ttyspy.stp test_installcheck: stap --skip-badvars -g ttyspy.stp -c "sleep 1" |