[PATCH v3 2/6] kselftest: factor out list manipulation to a helper