Re: [PATCH 8/8] NTB: ntb_test: Fix bug when counting remote files

2018-07-20 Thread Logan Gunthorpe
On 15/06/18 01:51 PM, Serge Semin wrote: > I also tested this script in the looped-back setup. It is the case when two > NTB-device ports are available at the same RootComplex. So the NTB can be > configured from the single executional context. In this case the REMOTE_HOST > is left > empty, so

Re: [PATCH 8/8] NTB: ntb_test: Fix bug when counting remote files

2018-06-15 Thread Logan Gunthorpe
On 15/06/18 01:51 PM, Serge Semin wrote: > On Fri, Jun 08, 2018 at 06:08:19PM -0600, Logan Gunthorpe > wrote: >> When remote files are counted in get_files_count, without using SSH, >> the code returns 0 because there is a colon prepended to $LOC. $VPATH >> should have been used instead of $LO

Re: [PATCH 8/8] NTB: ntb_test: Fix bug when counting remote files

2018-06-15 Thread Serge Semin
On Fri, Jun 08, 2018 at 06:08:19PM -0600, Logan Gunthorpe wrote: > When remote files are counted in get_files_count, without using SSH, > the code returns 0 because there is a colon prepended to $LOC. $VPATH > should have been used instead of $LOC. > Good catch. Thanks for the patch. I discover

[PATCH 8/8] NTB: ntb_test: Fix bug when counting remote files

2018-06-08 Thread Logan Gunthorpe
When remote files are counted in get_files_count, without using SSH, the code returns 0 because there is a colon prepended to $LOC. $VPATH should have been used instead of $LOC. Fixes: 06bd0407d06c ("NTB: ntb_test: Update ntb_tool Scratchpad tests") Signed-off-by: Logan Gunthorpe --- tools/testi