summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.server/hello.stp
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-02-20 16:58:57 -0500
committerDave Brolley <brolley@redhat.com>2009-02-20 16:58:57 -0500
commite26df1cb46bf61450a3e9569cd892c91fd52c0a7 (patch)
treeb38521375256620056dc4935ac7782b8feaff5a5 /testsuite/systemtap.server/hello.stp
parente1d8e378730ccff8491104575913a4943e9427a8 (diff)
downloadsystemtap-steved-e26df1cb46bf61450a3e9569cd892c91fd52c0a7.tar.gz
systemtap-steved-e26df1cb46bf61450a3e9569cd892c91fd52c0a7.tar.xz
systemtap-steved-e26df1cb46bf61450a3e9569cd892c91fd52c0a7.zip
Check for required resources and tools before attempting tests using the client/server.
Ensure that tests run with/without the server have unique names.
Diffstat (limited to 'testsuite/systemtap.server/hello.stp')
-rwxr-xr-xtestsuite/systemtap.server/hello.stp8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/systemtap.server/hello.stp b/testsuite/systemtap.server/hello.stp
new file mode 100755
index 00000000..a1c4aacb
--- /dev/null
+++ b/testsuite/systemtap.server/hello.stp
@@ -0,0 +1,8 @@
+#! stap
+
+probe begin
+{
+ printf("Hello ");
+ printf("From Server\n");
+ exit()
+}