squash: Use TracePoint
Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=2252100 and https://bugs.ruby-lang.org/issues/14582
This commit is contained in:
parent
b35f6f20d7
commit
3dee01db19
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue