Fix file leak in lock tests
Fix file leak in lock tests

maxim-belkin/brew,sjackman/homebrew,reitermarkus/brew,MikeMcQuaid/brew,nandub/brew,JCount/brew,mahori/brew,Homebrew/brew,gregory-nisbet/brew,AnastasiaSulyagina/brew,konqui/brew,palxex/brew,jmsundar/brew,zmwangx/brew,DomT4/brew,maxim-belkin/brew,pseudocody/brew,Homebrew/brew,hanxue/linuxbrew,amar-laksh/brew_sudo,aw1621107/brew,MikeMcQuaid/brew,muellermartin/dist,EricFromCanada/brew,alyssais/brew,bfontaine/brew,nandub/brew,bfontaine/brew,maxim-belkin/brew,mgrimes/brew,gordonmcshane/homebrew,reelsense/brew,hanxue/linuxbrew,amar-laksh/brew_sudo,pseudocody/brew,claui/brew,staticfloat/brew,EricFromCanada/brew,mgrimes/brew,DomT4/brew,nandub/brew,reitermarkus/brew,reitermarkus/brew,EricFromCanada/brew,muellermartin/dist,AnastasiaSulyagina/brew,sjackman/homebrew,nandub/brew,claui/brew,Linuxbrew/brew,jmsundar/brew,MikeMcQuaid/brew,ilovezfs/brew,toonetown/homebrew,staticfloat/brew,gordonmcshane/homebrew,JCount/brew,Linuxbrew/brew,zmwangx/brew,sjackman/homebrew,reelsense/brew,JCount/brew,mgrimes/brew,mistydemeo/homebrew,gregory-nisbet/brew,DomT4/brew,vitorgalvao/brew,claui/brew,gregory-nisbet/brew,aw1621107/brew,bfontaine/brew,alyssais/brew,palxex/brew,palxex/brew,konqui/brew,DomT4/brew,gordonmcshane/homebrew,ilovezfs/brew,reitermarkus/brew,ilovezfs/brew,tonyg/homebrew,Homebrew/brew,rwhogg/brew,MikeMcQuaid/brew,pseudocody/brew,amar-laksh/brew_sudo,vitorgalvao/brew,Homebrew/brew,tonyg/homebrew,JCount/brew,mistydemeo/homebrew,vitorgalvao/brew,toonetown/homebrew,Linuxbrew/brew,mistydemeo/homebrew,tonyg/homebrew,AnastasiaSulyagina/brew,aw1621107/brew,alyssais/brew,reelsense/brew,mahori/brew,mahori/brew,Linuxbrew/brew,rwhogg/brew,claui/brew,zmwangx/brew,rwhogg/brew,muellermartin/dist,sjackman/homebrew,konqui/brew,EricFromCanada/brew,jmsundar/brew,staticfloat/brew,hanxue/linuxbrew,toonetown/homebrew,mahori/brew,konqui/brew,vitorgalvao/brew