From f97d5ff6c208d69d27791d7a8f6d6dac4853ff15 Mon Sep 17 00:00:00 2001 From: dsmith Date: Thu, 29 Mar 2007 16:19:13 +0000 Subject: 2007-03-29 David Smith PR 4281 * parseko/cmdline07.stp: New test. * parseko/cmdline08.stp: New test. --- testsuite/parseko/cmdline07.stp | 6 ++++++ testsuite/parseko/cmdline08.stp | 4 ++++ 2 files changed, 10 insertions(+) create mode 100755 testsuite/parseko/cmdline07.stp create mode 100755 testsuite/parseko/cmdline08.stp (limited to 'testsuite/parseko') diff --git a/testsuite/parseko/cmdline07.stp b/testsuite/parseko/cmdline07.stp new file mode 100755 index 00000000..aee03a91 --- /dev/null +++ b/testsuite/parseko/cmdline07.stp @@ -0,0 +1,6 @@ +#!/bin/sh + +# A module name must be specified when using '-m' - the module name +# can't be empty + +stap -p1 -m "" -e 'probe begin { exit() }' diff --git a/testsuite/parseko/cmdline08.stp b/testsuite/parseko/cmdline08.stp new file mode 100755 index 00000000..19730b80 --- /dev/null +++ b/testsuite/parseko/cmdline08.stp @@ -0,0 +1,4 @@ +#!/bin/sh + +# A module name can only be composed of chars [_a-zA-Z0-9] +stap -p1 -m x^y -e 'probe begin { exit() }' -- cgit