summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-07-28 17:26:55 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2009-07-28 17:26:55 -0400
commitfc7e606e053159fad715883ccee2d99324c32f1a (patch)
tree957a621ae1f151f5d887c4ac9abe985d7882d651
parente25bf3cd072c937fd6235e206e98b082769aa1bb (diff)
downloadsystemtap-steved-fc7e606e053159fad715883ccee2d99324c32f1a.tar.gz
systemtap-steved-fc7e606e053159fad715883ccee2d99324c32f1a.tar.xz
systemtap-steved-fc7e606e053159fad715883ccee2d99324c32f1a.zip
PR10453: Fix crash.exp not to refer removed file
* systemtap.base/crash.exp: Use command-line script instead of removed script file.
-rw-r--r--testsuite/systemtap.base/crash.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.base/crash.exp b/testsuite/systemtap.base/crash.exp
index 9c3e5e05..59c8dadd 100644
--- a/testsuite/systemtap.base/crash.exp
+++ b/testsuite/systemtap.base/crash.exp
@@ -5,7 +5,7 @@ if {![installtest_p]} { untested $test; return }
if {![file exists $env(CRASH_LIBDIR)/staplog.so]} { untested "$test - no staplog.so"; return }
# Load a test script
-spawn stap $srcdir/$subdir/testlog.stp -m testlog
+spawn stap -e {probe begin {print("HelloWorld\n")}} -m testlog
expect {
-timeout 120
"HelloWorld\r\n" {