<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -250,6 +250,24 @@ exports.testsRenameList = function () {
     }
 };
 
+exports.testsMtime = function () {
+    try {
+        fs.mkdir('testsMtime');
+        
+        // add/subtract 1 second to account for lower precision of mtime
+        var before = new Date().getTime() - 1000;
+        fs.path('testsMtime', 'A.txt').touch();
+        var after = new Date().getTime() + 1000;
+        
+        var mtime = fs.path('testsMtime', 'A.txt').mtime().getTime();
+        
+        assert.isTrue(before &lt;= mtime, &quot;Expected &quot; + before + &quot; &lt;= &quot; + mtime);
+        assert.isTrue(mtime &lt;= after, &quot;Expected &quot; + mtime + &quot; &lt;= &quot; + after);
+    } finally {
+        fs.rmtree('testsMtime');
+    }
+};
+
 exports.testCwd = function() {
     assert.eq(system.env[&quot;PWD&quot;], fs.cwd(), &quot;Ensure the PWD environment variable is set!&quot;);
 }</diff>
      <filename>tests/commonjs/file-tests.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2fa56e7032ef5e468848ec063111b1d0baf8a14a</id>
    </parent>
    <parent>
      <id>e458979baa8a2c75e75070252dfb5479ddfb9c17</id>
    </parent>
  </parents>
  <author>
    <name>tlrobinson</name>
    <email>tom@280north.com</email>
  </author>
  <url>http://github.com/dangoor/narwhal/commit/cd6e4b02ab7f039e2f106ef6f8edb3efbfab5b8a</url>
  <id>cd6e4b02ab7f039e2f106ef6f8edb3efbfab5b8a</id>
  <committed-date>2009-10-15T05:33:09-07:00</committed-date>
  <authored-date>2009-10-15T05:33:09-07:00</authored-date>
  <message>Merge branch 'master' of git@github.com:tlrobinson/narwhal</message>
  <tree>d6ab650a843d659d53674cf02541ed282f5cc6f1</tree>
  <committer>
    <name>tlrobinson</name>
    <email>tom@280north.com</email>
  </committer>
</commit>
