On Wed, Jul 25, 2007 at 08:21:47PM -0700, Zhigang Cui wrote:
> Hi Eric,
> Thanks for you reply.
> 
> In fact, what I expect is the behavior is consistent for the user. In
> other words, if a user repeats the same steps, he wants the same
> result. In the given case, The names of 'dir', 'file1' and 'file2' are
> fixed, the name of corresponding exported dir is fixed, the order of
> the operations is fixed, too.

The order of enumeration is fixed for any given directory, but not
necessarily consistent across disparate directories.

> Is it determined by the 'salt'? If such result is desired for ZFS,
> maybe I need to redesign the test case. :-(

Yes, that is correct.  Your test case should be verifying that the
correct directory entries are there, but it should not be verifying the
order in any way.

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock

Reply via email to