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' 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