On Tue, Oct 12, 2021 at 07:39:58PM -0500, Glenn Washburn wrote:
> When using the output of a subshell as input, its error code is ignored in
> the context of "set -e". Many test scripts use grub-shell in a subshell with
> output used as an argument to the test command to test for expected output.
> Refactor these tests so that the subshell output goes to a shell variable,
> so that if the subshell errors the script will immediately exit with an
> error code.
>
> Signed-off-by: Glenn Washburn <developm...@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to