[PATCH 3/8] mshare: selftests: Add some helper function for mshare filesystem