From 3dee01db1964598f1a414fa8e88ffadc642a1822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Tue, 16 Jul 2024 17:16:08 +0200 Subject: [PATCH] squash: Use TracePoint Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2252100 and https://bugs.ruby-lang.org/issues/14582 --- systemtap-static-probes-in-ruby/runtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemtap-static-probes-in-ruby/runtest.sh b/systemtap-static-probes-in-ruby/runtest.sh index e75035f..af0e14f 100755 --- a/systemtap-static-probes-in-ruby/runtest.sh +++ b/systemtap-static-probes-in-ruby/runtest.sh @@ -87,7 +87,7 @@ rlJournalStart rlRun "$RUBY $RUBY_OPTS -e '(1..10).step(1)'" 0 "Running ruby interpreter: Range test" rlRun "$RUBY $RUBY_OPTS -e 'Hash.new()'" 0 "Running ruby interpreter: Hash test" rlRun "$RUBY $RUBY_OPTS -e '\"abc\".slice!(\"c\")'" 0 "Running ruby interpreter: String test" - rlRun "$RUBY $RUBY_OPTS -e '5.times { printf \"Ruby!\n\" }'" 0 "Running ruby interpreter: Cycle and print test" + rlRun "$RUBY $RUBY_OPTS -e 'TracePoint.new{}.enable; 5.times { printf \"Ruby!\n\" }'" 0 "Running ruby interpreter: Cycle and print test" # wait for all output rlRun "sleep 10" 0 "Waiting \"10\" seconds"