summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples/gtod.sh
diff options
context:
space:
mode:
authorhiramatu <hiramatu>2007-09-27 16:28:28 +0000
committerhiramatu <hiramatu>2007-09-27 16:28:28 +0000
commitff0dba8fb7c752a10d64258d3cc1350893139929 (patch)
treef80ecb5a1ab79d46ad9c18ad42abd1f473026f16 /testsuite/systemtap.samples/gtod.sh
parent5e4c160908b88e1272ec09f2c88d7612ce82b7c8 (diff)
downloadsystemtap-steved-ff0dba8fb7c752a10d64258d3cc1350893139929.tar.gz
systemtap-steved-ff0dba8fb7c752a10d64258d3cc1350893139929.tar.xz
systemtap-steved-ff0dba8fb7c752a10d64258d3cc1350893139929.zip
2007-09-27 Masami Hiramatsu <mhiramat@redhat.com>
PR3916 * systemtap.sample/gtod.*: New test for gettimeofday accuracy.
Diffstat (limited to 'testsuite/systemtap.samples/gtod.sh')
-rwxr-xr-xtestsuite/systemtap.samples/gtod.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/systemtap.samples/gtod.sh b/testsuite/systemtap.samples/gtod.sh
new file mode 100755
index 00000000..4d4a28c2
--- /dev/null
+++ b/testsuite/systemtap.samples/gtod.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+stap $1 -c "$2 $3" | sort
+