mozilla/rust — pull request #9437 by catamorphism (2013-09-23 20:43:15+00:00)
Title: rustpkg: Stop comparing dates in tests

r? @alexcrichton On most platforms, the time granularity is 1 sec or more, so comparing
dates in tests that check whether rebuilding did or didn't happen leads
to spurious failures. Instead, test the same thing by making an output
file read-only and trapping attempts to write to it.