[svn-r10086] Purpose:

bug

Description:
bug in test

Solution:
fix bug

Platforms tested:
arabica,shanti

Misc. update:
This commit is contained in:
Robert E. McGrath 2005-02-25 13:48:17 -05:00
parent bcb3dd3a21
commit cffc51b94c

View File

@ -1780,7 +1780,7 @@ static int test_rank(void)
for (i=0; i<rank; i++)
{
sprintf(name,"ds_a_%d",i);
if (H5LTmake_dataset_int(fid,name,rankds,&dims[i],NULL)<0)
if (H5LTmake_dataset_int(fid,name,(rank-i),&dims[i],NULL)<0)
goto out;
}