On Wed, Jun 9, 2010 at 4:35 PM, Malcolm Greene <pro...@bdurham.com> wrote: > I'm working on a set of unit tests designed to stress test some > file handling capabilities of our application. > > Listed below are some file names designed to cause failures when > used with file open, copy, delete, and rename activites. > > Can anyone think of additional scenarios (path names > or unusual file access) that we could test against? My tests will > initially be for the Windows platform (2000-Windows 7), but I > would welcome Linux and/or Mac specific failure conditions as > well. > > UNITTEST_DRIVE_NOT_READY = 'a:' > UNITTEST_DRIVE_READ_ONLY = 'g:' # CD drive with CD > UNITTEST_UNC_NOT_EXIST = '\\unc_not_exist' > UNITTEST_FILE_BAD_CHARS = 'path_bad_chars_*<>|' > UNITTEST_FILE_NO_WRITE = 'c:\program files' > UNITTEST_FILE_NOT_EXIST = '\path_not_exist' > UNITTEST_FILE_LOCKED = 'file_locked.tmp' # will be open > unittest_file_locked = fopen( UNITTEST_FILE_LOCKED, 1 ) > UNITTEST_UNICODE_PATH = 'unicode_chars_here' > ----------
I just had to look this up earlier today so back at you. <http://www.wilsonmar.com/1envvars.htm> -- Stephen Russell Sr. Production Systems Programmer CIMSgts 901.246-0159 cell _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/aanlktiktmck0noypcp6ufpggkvvdfibn1c9bfbken...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.