Bug 546277: Fixed string comparison to work on AIX. r=christophe
--- a/security/nss/tests/chains/chains.sh
+++ b/security/nss/tests/chains/chains.sh
@@ -1054,17 +1054,17 @@ parse_config()
############################# chains_main ##############################
# local shell function to process all testing scenarios
########################################################################
chains_main()
{
while read LINE
do
- [ `echo ${LINE} | cut -b 1` == "#" ] && continue
+ [ `echo ${LINE} | cut -b 1` != "#" ] || continue
> ${AIA_FILES}
parse_config < "${QADIR}/chains/scenarios/${LINE}"
while read AIA_FILE
do
rm ${AIA_FILE} 2> /dev/null