A bill to avert a partial government shutdown beginning this weekend secured enough support to pass the U.S. Senate on Thursday. Voting continued.