[PATCH v14 6/6] ring-buffer/selftest: Add ring-buffer mapping test