[PATCH v2 3/7] selftest: sync: merge tests for sw_sync framework