[Ocfs2-test-devel] fsck-test: Add test to check directory compression
Goldwyn Rodrigues
rgoldwyn at gmail.com
Wed Aug 26 10:13:01 PDT 2009
Hi,
On Tue, Aug 25, 2009 at 10:51 PM, tristan.ye<tristan.ye at oracle.com> wrote:
> Just are some comments from program's perspective apart from the testing
> sequence.
Thanks. I will incorporate the suggestions in the next patch.
>>
>> +function create_files()
>> +{
>> + for i in `seq 1 20`; do
>> + mkdir $MOUNT_POINT/d.$i
>>
>
> use mkdir -p $MOUNT_POINT/d.$i?
No, we don't want the test to continue if, for some reason, the mount
is not successful and the test continues. Of course, it needs the
checks you suggested.
I will send the updated patch shortly.
--
Goldwyn
More information about the Ocfs2-test-devel
mailing list