int i;
int err;
- diag_printf("<INFO>: create file %s size %d\n",name,size);
+ diag_printf("<INFO>: create file %s size %zd\n",name,size);
err = access( name, F_OK );
if( err < 0 && errno != EACCES ) SHOW_RESULT( access, err );
} while( wrote == IOSIZE );
- diag_printf("<INFO>: file size == %d\n",size);
+ diag_printf("<INFO>: file size == %zd\n",size);
err = close( fd );
if( err < 0 ) SHOW_RESULT( close, err );
checkfile( "/ram/tinky");
checkfile( "/ram/laalaa");
comparefiles( "/ram/tinky", "/ram/laalaa" );
+ comparefiles( "/ram/tinky", "ram/laalaa" );
+ comparefiles( "ram/tinky", "/ram/laalaa" );
err = chdir( "/ram" );
if( err < 0 ) SHOW_RESULT( chdir, err );