On Thu, Nov 18, 2010 at 12:58 AM, Nick Coghlan <ncoghlan at gmail.com> wrote: > For what Amaury is talking about, what you can test is that the higher > layers of the IO stack (e.g. BufferedReader) correctly pass the new > flags down to the RawIO layer. You're correct that you can't really > test that RawIO is actually passing the flags down to the OS. However, > if you have a way to check whether the filesystem in use is ZFS, you > may be able to create a conditionally executed test, such that correct > behaviour can be verified just by running on a machine that uses ZFS > for its temp directory. On further thought, the test should probably be unconditional - just allow a ValueError as an acceptable result that indicates the underlying filesystem isn't ZFS. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4