[tests] fix the /var/run sudo requirement