Glenn Washburn 9bbcfb71ce tests: Do not occlude subshell error codes when used as input to the test command
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 <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-10-14 14:45:10 +02:00
..
2017-05-03 12:49:31 +02:00
2010-08-19 17:50:05 +05:30
2017-05-03 12:49:31 +02:00
2018-04-10 19:05:04 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2010-05-05 15:34:26 +05:30
2017-05-03 12:49:31 +02:00
2012-06-08 22:54:21 +02:00
2013-04-29 12:25:57 +02:00
2010-09-05 14:57:28 +05:30
2010-05-12 17:46:49 +05:30
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2013-10-26 14:52:54 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00