The Senate is taking the first procedural vote on a short-term spending measure as the government faces a Friday deadline to avert a partial shutdown.