Ignore:
Timestamp:
Mar 14, 2010, 9:57:53 PM (12 years ago)
Author:
Peter
Message:

merged release 0.6.1

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/test/fileutil_test.cc

    r2209 r2217  
    181181  }
    182182
     183  // checking permissions on non-existence file in `/'
     184  try {
     185    suite.err() << "FileUtil Test 7" << std::endl;
     186     // intermediate dir must be unique!
     187    utility::FileUtil file("/theplu_yat_fileutil_test.sdf34DSF");
     188    if(!suite.add(file.permissions("r") == 0)) {
     189      suite.err() << "  r permission failed on " << file.path() << std::endl;
     190    }
     191  }
     192  catch (utility::IO_error e) {
     193    suite.add(false);
     194    suite.err() << e.what() << std::endl;
     195  }
     196
     197
    183198  return suite.return_value();
    184199}
Note: See TracChangeset for help on using the changeset viewer.