From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Mon, 6 May 2019 11:43:38 +0300 From: Cyrill Gorcunov Subject: Re: [PATCH] core/coio_file: copyfile -- Make it behave as regular cp Message-ID: <20190506084338.GL2488@uranus.lan> References: <20190504154922.30072-1-gorcunov@gmail.com> <20190506083729.cfyyu7pag7hvlgif@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190506083729.cfyyu7pag7hvlgif@esperanza> To: Vladimir Davydov Cc: tml List-ID: On Mon, May 06, 2019 at 11:37:29AM +0300, Vladimir Davydov wrote: > > > > Also I just wondered that most of tests in test/app/fio.test.lua > > do pass octal modes as 0777 while lua's number parser simply doesn't > > understand octal form. So that I had to pass mode 420 by hands which > > is an alias to 0644. > > I guess we should change 0644 to tonumber('644', 8) across the whole > test suite. Could you please do it in a separate patch? Will do. > Anyway, the new test case passes both with and without this patch, which > means it's useless. Please make sure it fails without the changes made > to the code by this patch. OK