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