#!/bin/sh

. "$(dirname $0)/common.sh"

prepare
install_rspec

cd "$AUTOPKGTEST_TMP"

# exclude failing test
# Error:EOPNOTSUPP likely caused by autopkgtest environment
echo 'exclude :test_cp_r_symlink_preserve, "fails in autopkgtests"' >> test/mri/excludes/TestFileUtils.rb

# run the rspec testsuite
jruby -S rake test:mri:stdlib
