1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/bin/sh
. "$(dirname $0)/common.sh"
prepare
cd "$AUTOPKGTEST_TMP"
if [ "$(id -u)" -eq 0 ]; then
# prevent chroot spec from running, chroot is not supported with jruby
sed -i '/it_behaves_like :dir_chroot_as_root, :chroot/d' spec/ruby/core/dir/chroot_spec.rb
fi
for n in SC_CHILD_MAX SC_TZNAME_MAX SC_SYMLOOP_MAX; do
echo "fails:Etc.sysconf returns the value of POSIX.1 system configuration variable ${n}" >> spec/tags/ruby/library/etc/sysconf_tags.txt
done
# run the rspec testsuite
jruby -S rake spec:ruby:fast
|