update the test to work with POSIX sed.
follow #acd37594fef54d8b8ba2319d2829a1b14bdf7882 to change.
#
# MRUBY_TAG corresponds to tag or branch of mruby/mruby
-MRUBY_TAG = $(shell grep MRUBY_VERSION mrblib/global.rb | sed 's/MRUBY_VERSION *= *"\(.\+\)"/\1/')
+MRUBY_TAG = $(shell grep MRUBY_VERSION mrblib/global.rb | sed 's/MRUBY_VERSION *= *"\(.*\)"/\1/')
USER_ID = $(shell id -u)
@@ -49,7 +49,7 @@ package: clean
test: check_tag
docker run --mount type=bind,src=${PWD}/,dst=/work/mrubyc \
- -e CFLAGS="-DMRBC_USE_MATH=1 -DMAX_SYMBOLS_COUNT=500 $(CFLAGS)" \
+ -e CFLAGS="-DMRBC_USE_HAL_POSIX=1 -DMRBC_USE_MATH=1 -DMAX_SYMBOLS_COUNT=500 $(CFLAGS)" \
-e MRBC="/work/mruby/build/host/bin/mrbc" \
mrubyc-dev /bin/sh -c "cd mrblib; make distclean all && cd -; \
bundle exec mrubyc-test --every=10 \
