tests: Test for errors os/cpu match failures on opt deps
tests: Test for errors os/cpu match failures on opt deps

Credit: da39a3ee5e6b4b0d3255bfef95601890afd80709@iarna
PR-URL: https://github.com/npm/npm/pull/10465
Reviewed By: @othiym23

misterbyrne/npm,evocateur/npm,chadnickbok/npm,DIREKTSPEED-LTD/npm,segrey/npm,rsp/npm,yodeyer/npm,evanlucas/npm,haggholm/npm,TimeToogo/npm,ekmartin/npm,cchamberlain/npm,DIREKTSPEED-LTD/npm,DaveEmmerson/npm,princeofdarkness76/npm,princeofdarkness76/npm,misterbyrne/npm,xalopp/npm,kimshinelove/naver-npm,kimshinelove/naver-npm,segrey/npm,evocateur/npm,princeofdarkness76/npm,rsp/npm,ekmartin/npm,midniteio/npm,lxe/npm,TimeToogo/npm,DaveEmmerson/npm,evanlucas/npm,kemitchell/npm,cchamberlain/npm,yibn2008/npm,haggholm/npm,xalopp/npm,yodeyer/npm,kemitchell/npm,chadnickbok/npm,lxe/npm,lxe/npm,rsp/npm,haggholm/npm,segrey/npm,Volune/npm,DaveEmmerson/npm,cchamberlain/npm,midniteio/npm,evocateur/npm,misterbyrne/npm,ekmartin/npm,chadnickbok/npm,evanlucas/npm,Volune/npm,yibn2008/npm,TimeToogo/npm,DIREKTSPEED-LTD/npm,cchamberlain/npm-msys2,yodeyer/npm,midniteio/npm,kemitchell/npm,cchamberlain/npm-msys2,xalopp/npm,Volune/npm,cchamberlain/npm-msys2,yibn2008/npm,kimshinelove/naver-npm