test hmr_rm ioctl