You need to turn off CONFIG_RTL_ERRNO_THREADSAFE or CONFIG_RTL_POSIXIO_SUPPORT.
Also, do _not_ load rtl_sched.o for timer_test and oneshot_test to work.
