summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/flightrec2.stp
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-04-28 11:18:06 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2009-04-28 11:18:06 -0400
commit999740348b95d993cbe36b9283c5cb7ee7bda149 (patch)
tree39d0b012e5ecb4af3a22bbed509752d8975f942a /testsuite/systemtap.base/flightrec2.stp
parented82b7c902d6a2e26452ec51c9cdb9665dbf9e97 (diff)
downloadsystemtap-steved-999740348b95d993cbe36b9283c5cb7ee7bda149.tar.gz
systemtap-steved-999740348b95d993cbe36b9283c5cb7ee7bda149.tar.xz
systemtap-steved-999740348b95d993cbe36b9283c5cb7ee7bda149.zip
PR 6930: fix flightrec2.exp to handle filesize correctly
* testsuite/systemtap.base/flightrec2.exp: Use stat instead of ls for checking file size. * testsuite/systemtap.base/flightrec2.stp: Increase timer interval for some architecture on which the minimum interval is more than 1 ms (e.g. xen)
Diffstat (limited to 'testsuite/systemtap.base/flightrec2.stp')
-rw-r--r--testsuite/systemtap.base/flightrec2.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/flightrec2.stp b/testsuite/systemtap.base/flightrec2.stp
index 9d745f4b..f42c9b8e 100644
--- a/testsuite/systemtap.base/flightrec2.stp
+++ b/testsuite/systemtap.base/flightrec2.stp
@@ -1,5 +1,5 @@
-probe timer.ms(1)
+probe timer.ms(10)
{
- for (j = 0; j < 100; j++)
+ for (j = 0; j < 1000; j++)
printf("1234567890\n")
}