Re: test command (in-)compatibility

2016-01-22 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 08.12.2015 17:36, Andrei Borzenkov wrote: > `test' in GRUB implicitly assumes `and' operation between consecutive > terms and does not enforce proper syntax like UNIX (bash) `test' does. Both > > test x y z > test x = y z = w > > result in error in Linux and are silently accepted by GRUB with

test command (in-)compatibility

2015-12-08 Thread Andrei Borzenkov
`test' in GRUB implicitly assumes `and' operation between consecutive terms and does not enforce proper syntax like UNIX (bash) `test' does. Both test x y z test x = y z = w result in error in Linux and are silently accepted by GRUB with interpretation test x -a y -a z test ( x = y ) -a ( z = w