The U.S. Senate secured enough votes on Thursday to open debate on a temporary government funding bill that aims to avert a partial government shutdown this weekend, as voting on the measure continued.