Re: [developer] zfs tests in BASH

2018-06-30 Thread John Kennedy
On Sat, Jun 30, 2018 at 8:38 AM Igor Kozhukhov wrote: > > Hi All, > > I can see several tests in BASH - for example: > functional/reservation/reservation_001_pos.sh > > is it added by mistake in BASH or some reason to use BASH for some tests? They're a mistake. When I first sent the ZFS test

Re: [developer] zfs tests problems to use PATH

2018-06-29 Thread John Kennedy
Hi Igor, On Fri, Jun 29, 2018 at 8:55 AM Igor Kozhukhov wrote: > right now, by step in zfstest - we do symbolic links to tempory directory and > update PATH to use it. > > but - we are using 'su user -c "" - where we use another PATH - it > is not the same as we defined. > > as example:

Re: [developer] zfs tests design/issues

2018-06-26 Thread John Kennedy
On Tue, Jun 26, 2018 at 3:53 PM Igor Kozhukhov wrote: > > John, thanks for update. > > as resilution we have options: > 1. for reduce issues with differen shell on different platforms - need try to > look Python or Perl or something similar based framwork. > 2. try to find good way for PATH to

Re: [developer] zfs tests design/issues

2018-06-26 Thread John Kennedy
On Sun, Jun 24, 2018 at 1:21 PM Igor Kozhukhov wrote: > I’d like propose to split zfs tests to 2 parts: > 1 - zfs hellper binaries - what can be built on platform like Linux, FreeBSD, > Linux, OSX - and used for zfs tests > 2 - scripting part - can be used as is on all platforms. > > about