Skip to content

Commit 530b639

Browse files
committed
Use $RUBY_BIN in no_extra_output test
* To avoid extra output from JT, e.g., when TruffleRuby JVM is in PATH.
1 parent 140ae3a commit 530b639

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/truffle/integration/no_extra_output.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ function check() {
2727

2828
echo "Basic test of the output"
2929

30-
jt --silent ruby -e 'puts 3*4' 1>temp.txt 2>&1
30+
$RUBY_BIN -e 'puts 3*4' 1>temp.txt 2>&1
3131
check $?
3232

3333
echo "Basic test of the output with lazy options disabled"
3434

35-
jt --silent ruby --experimental-options --lazy-default=false -e 'puts 3*4' 1>temp.txt 2>&1
35+
$RUBY_BIN --experimental-options --lazy-default=false -e 'puts 3*4' 1>temp.txt 2>&1
3636
check $?
3737

3838
echo "Test loading many standard libraries"
3939

40-
jt --silent ruby --experimental-options --lazy-default=false test/truffle/integration/no_extra_output/all_stdlibs.rb 1>temp.txt 2>&1
40+
$RUBY_BIN --experimental-options --lazy-default=false test/truffle/integration/no_extra_output/all_stdlibs.rb 1>temp.txt 2>&1
4141
check $?

0 commit comments

Comments
 (0)