The enable_getty test uses a bash-only syntax "[[ ... ]]".
On /bin/sh==bash hosts, it enables the serial getty.
On /bin/sh!=bash hosts, it does not enable it.
Fix this non-reproducibility by using the standard shell "[ ... ]"
syntax which should work in any POSIX shell[0].
[0]: https://www.shellcheck.net/wiki/SC3010
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>