Remove another bashism from run_tests.sh
Remove another bashism from run_tests.sh

Current we check for various error codes with [ $x == "NN" ].  However
'==' is not actually a correct operator for the [ (test) command.  It
should be either '=' for string comparison or '-eq' for integer
comparison.  It appears that the bash builtin version of test
implements '==' though, so we were getting away with it, as long as
/bin/sh was bash - or the testsuite generated no errors.

This patch fixes the usage of test so that it should work on non-bash
shells.

Signed-off-by: David Gibson <aa743a0aaec8f7d7a1f01442503957f4d7a2d634@gibson.dropbear.id.au>

oubeichen/lk-v500,DooMLoRD/android_bootable_bootloader_lk,M1cha/mi2_lk,CanarySolutions/little-kernel,thornbirdblue/codeaurora_lk,M1cha/mi2_lk,jsr-d9/android_kernel_lk,Foxda-Tech/polaris-bootable-bootloader-lk,Redmi-dev/android_bootable_lk,pichina/lk,hanjae/lumiab0,idor/dk50-bootable_bootloader_lk,t2m-foxfone/kernel_lk,lg-devs/g2-bootloader,idor/dk50-bootable_bootloader_lk,pichina/lk,idor/dk50-bootable_bootloader_lk,Blefish/android_bootable_bootloader_lk,RonGokhale/android_lk_bootloader,thornbirdblue/codeaurora_lk,t2m-foxfone/android_kernel_lk,Foxda-Tech/polaris-bootable-bootloader-lk,efidroid/lk,utilite2/lk,CanarySolutions/little-kernel,zhuotong/mi2_lk_NoEmmc,chirayudesai/android_bootable_bootloader_lk,Blefish/android_bootable_bootloader_lk,detule/lk-g2-spr,M1cha/lktris,lg-devs/g2-bootloader,M1cha/android_bootable_bootloader_lk,mozilla-b2g/kernel_lk,Foxda-Tech/polaris-bootable-bootloader-lk,Foxda-Tech/polaris-bootable-bootloader-lk,M1cha/android_bootable_bootloader_lk,mozilla-b2g/kernel_lk,jsr-d10/android_bootable_bootloader_lk,RonGokhale/android_lk_bootloader,M1cha/lktris,mozilla-b2g/fairphone2_kernel_lk,CanarySolutions/little-kernel,hanjae/lumiab0,M1cha/android_bootable_bootloader_lk,jbott/lk_gee,thornbirdblue/codeaurora_lk,DooMLoRD/android_bootable_bootloader_lk,chirayudesai/android_bootable_bootloader_lk,zhuotong/mi2_lk_NoEmmc,mozilla-b2g/fairphone2_kernel_lk,thornbirdblue/codeaurora_lk,utilite2/lk,idor/dk50-bootable_bootloader_lk,zhuotong/mi2_lk_NoEmmc,mozilla-b2g/kernel_lk,jsr-d10/android_bootable_bootloader_lk,RonGokhale/android_lk_bootloader,chirayudesai/android_bootable_bootloader_lk,oubeichen/lk-v500,pichina/lk,jbott/lk_gee,jsr-d9/android_kernel_lk,efidroid/lk,jbott/lk_gee,hanjae/lumiab0,MiCode/mi2_lk,Foxda-Tech/argo8-bootable-bootloader-lk,lg-devs/g2-bootloader,Foxda-Tech/argo8-bootable-bootloader-lk,MiCode/mi2_lk,Foxda-Tech/polaris-bootable-bootloader-lk,Blefish/android_bootable_bootloader_lk,pichina/lk,M1cha/android_bootable_bootloader_lk,pichina/lk,DooMLoRD/android_bootable_bootloader_lk,t2m-foxfone/android_kernel_lk,MiCode/mi2_lk,RonGokhale/android_lk_bootloader,M1cha/mi2_lk,jsr-d10/android_bootable_bootloader_lk,CanarySolutions/little-kernel,detule/lk-g2-spr,mozilla-b2g/fairphone2_kernel_lk,mozilla-b2g/kernel_lk,detule/lk-g2-spr,jsr-d9/android_kernel_lk,lg-devs/g2-bootloader,M1cha/mi2_lk,idor/dk50-bootable_bootloader_lk,mozilla-b2g/fairphone2_kernel_lk,t2m-foxfone/kernel_lk,jsr-d10/android_bootable_bootloader_lk,utilite2/lk,Blefish/android_bootable_bootloader_lk,t2m-foxfone/kernel_lk,MiCode/mi2_lk,jbott/lk_gee,detule/lk-g2-spr,zhuotong/mi2_lk_NoEmmc,hanjae/lumiab0,Foxda-Tech/argo8-bootable-bootloader-lk,M1cha/lktris,jsr-d9/android_kernel_lk,M1cha/android_bootable_bootloader_lk,oubeichen/lk-v500,efidroid/lk,t2m-foxfone/kernel_lk,jsr-d10/android_bootable_bootloader_lk,hanjae/lumiab0,t2m-foxfone/android_kernel_lk,M1cha/lktris,Redmi-dev/android_bootable_lk,chirayudesai/android_bootable_bootloader_lk,CanarySolutions/little-kernel,DooMLoRD/android_bootable_bootloader_lk,t2m-foxfone/android_kernel_lk,oubeichen/lk-v500,utilite2/lk,efidroid/lk,oubeichen/lk-v500,mozilla-b2g/kernel_lk,lg-devs/g2-bootloader,mozilla-b2g/fairphone2_kernel_lk,RonGokhale/android_lk_bootloader,MiCode/mi2_lk,M1cha/mi2_lk,Foxda-Tech/argo8-bootable-bootloader-lk,Redmi-dev/android_bootable_lk,Redmi-dev/android_bootable_lk,chirayudesai/android_bootable_bootloader_lk,M1cha/android_bootable_bootloader_lk,jbott/lk_gee,t2m-foxfone/kernel_lk,t2m-foxfone/android_kernel_lk,Blefish/android_bootable_bootloader_lk,Foxda-Tech/argo8-bootable-bootloader-lk,Redmi-dev/android_bootable_lk,M1cha/lktris,zhuotong/mi2_lk_NoEmmc,detule/lk-g2-spr,DooMLoRD/android_bootable_bootloader_lk,efidroid/lk,jsr-d9/android_kernel_lk,utilite2/lk,thornbirdblue/codeaurora_lk