Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-13 Thread Daniel Vetter
On Fri, Oct 07, 2016 at 10:15:19AM +0300, Joonas Lahtinen wrote: > On to, 2016-10-06 at 16:36 +0300, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > debugfs_wedged and drm_lib.sh are already using bashism so switch > > over > > to using

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-12 Thread David Weinehall
On Wed, Oct 12, 2016 at 04:04:34PM +0300, Jani Nikula wrote: > On Wed, 12 Oct 2016, Joonas Lahtinen wrote: > > On ke, 2016-10-12 at 14:16 +0300, Jani Nikula wrote: > >> If you really care, go ahead and send the patches to make these Bourne > >> shell compatible,

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-12 Thread Jani Nikula
On Wed, 12 Oct 2016, Joonas Lahtinen wrote: > On ke, 2016-10-12 at 14:16 +0300, Jani Nikula wrote: >> If you really care, go ahead and send the patches to make these Bourne >> shell compatible, but then do also sign up for testing them on non-bash >> shells. The

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-12 Thread Joonas Lahtinen
On ke, 2016-10-12 at 14:16 +0300, Jani Nikula wrote: > If you really care, go ahead and send the patches to make these Bourne > shell compatible, but then do also sign up for testing them on non-bash > shells. The CI won't. I don't think it's worth the trouble, but YMMV. If they're re-written

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-12 Thread Jani Nikula
On Wed, 12 Oct 2016, David Weinehall wrote: > On Fri, Oct 07, 2016 at 12:54:03PM +0300, Joonas Lahtinen wrote: >> On pe, 2016-10-07 at 10:38 +0300, Jani Nikula wrote: >> > The "change" to use bash just reflects current reality. All the changes >> > here look

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-12 Thread Joonas Lahtinen
On ke, 2016-10-12 at 13:12 +0300, David Weinehall wrote: > On Fri, Oct 07, 2016 at 12:54:03PM +0300, Joonas Lahtinen wrote: > > I'm against converting to bash/python for no > > benefit. > > +1, Insightful. > > Most of the bashisms seem to be simple cases of the superfluous > "function" in front

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-12 Thread David Weinehall
On Fri, Oct 07, 2016 at 12:54:03PM +0300, Joonas Lahtinen wrote: > On pe, 2016-10-07 at 10:38 +0300, Jani Nikula wrote: > > The "change" to use bash just reflects current reality. All the changes > > here look simple and sane, and immediately improve the results. The work > > is already done, no

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-07 Thread Joonas Lahtinen
On pe, 2016-10-07 at 10:38 +0300, Jani Nikula wrote: > The "change" to use bash just reflects current reality. All the changes > here look simple and sane, and immediately improve the results. The work > is already done, no use blocking them because someone might eventually > rewrite them in C.

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-07 Thread Jani Nikula
On Fri, 07 Oct 2016, Joonas Lahtinen wrote: > On to, 2016-10-06 at 16:36 +0300, ville.syrj...@linux.intel.com wrote: >> From: Ville Syrjälä >> >> debugfs_wedged and drm_lib.sh are already using bashism so switch >> over >> to using

Re: [Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-07 Thread Joonas Lahtinen
On to, 2016-10-06 at 16:36 +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > debugfs_wedged and drm_lib.sh are already using bashism so switch > over > to using #!/bin/bash instead of #!/bin/sh. > > Signed-off-by: Ville Syrjälä

[Intel-gfx] [PATCH i-g-t 1/5] tests: Use bash for debugfs_wedged and drm_lib.sh

2016-10-06 Thread ville . syrjala
From: Ville Syrjälä debugfs_wedged and drm_lib.sh are already using bashism so switch over to using #!/bin/bash instead of #!/bin/sh. Signed-off-by: Ville Syrjälä --- tests/debugfs_wedged | 2 +- tests/drm_lib.sh | 2 +- 2