Fix 'runtest.sh' script
Fix 'runtest.sh' script

This change fixes a bug in the 'runtest.sh' that read test cases from
file given by '--testDirFile=<path>' option.
Remove LF characters while reading each line to make array properly.
Also changes similar codes in other place to same simple one.

roncain/coreclr,naamunds/coreclr,JosephTremoulet/coreclr,cydhaselton/coreclr,YongseopKim/coreclr,jhendrixMSFT/coreclr,vinnyrom/coreclr,tijoytom/coreclr,rartemev/coreclr,botaberg/coreclr,JosephTremoulet/coreclr,qiudesong/coreclr,ramarag/coreclr,cmckinsey/coreclr,ragmani/coreclr,mmitche/coreclr,hseok-oh/coreclr,shahid-pk/coreclr,shahid-pk/coreclr,alexperovich/coreclr,josteink/coreclr,KrzysztofCwalina/coreclr,qiudesong/coreclr,rartemev/coreclr,KrzysztofCwalina/coreclr,jhendrixMSFT/coreclr,sagood/coreclr,russellhadley/coreclr,gkhanna79/coreclr,sjsinju/coreclr,ruben-ayrapetyan/coreclr,shahid-pk/coreclr,martinwoodward/coreclr,manu-silicon/coreclr,AlexGhiondea/coreclr,neurospeech/coreclr,martinwoodward/coreclr,jhendrixMSFT/coreclr,neurospeech/coreclr,AlexGhiondea/coreclr,krk/coreclr,naamunds/coreclr,bartdesmet/coreclr,JosephTremoulet/coreclr,ruben-ayrapetyan/coreclr,krk/coreclr,manu-silicon/coreclr,cmckinsey/coreclr,botaberg/coreclr,kyulee1/coreclr,Dmitry-Me/coreclr,jamesqo/coreclr,sjsinju/coreclr,parjong/coreclr,tijoytom/coreclr,josteink/coreclr,poizan42/coreclr,YongseopKim/coreclr,sagood/coreclr,pgavlin/coreclr,ragmani/coreclr,alexperovich/coreclr,cydhaselton/coreclr,krk/coreclr,cshung/coreclr,James-Ko/coreclr,KrzysztofCwalina/coreclr,rartemev/coreclr,JonHanna/coreclr,naamunds/coreclr,rartemev/coreclr,cmckinsey/coreclr,russellhadley/coreclr,jamesqo/coreclr,jhendrixMSFT/coreclr,LLITCHEV/coreclr,krytarowski/coreclr,pgavlin/coreclr,yeaicc/coreclr,tijoytom/coreclr,AlexGhiondea/coreclr,schellap/coreclr,dpodder/coreclr,James-Ko/coreclr,schellap/coreclr,kyulee1/coreclr,jhendrixMSFT/coreclr,tijoytom/coreclr,martinwoodward/coreclr,dpodder/coreclr,JosephTremoulet/coreclr,alexperovich/coreclr,josteink/coreclr,poizan42/coreclr,poizan42/coreclr,pgavlin/coreclr,kyulee1/coreclr,alexperovich/coreclr,Dmitry-Me/coreclr,martinwoodward/coreclr,roncain/coreclr,krytarowski/coreclr,sagood/coreclr,YongseopKim/coreclr,Dmitry-Me/coreclr,pgavlin/coreclr,wateret/coreclr,JosephTremoulet/coreclr,krk/coreclr,ragmani/coreclr,krk/coreclr,wtgodbe/coreclr,dasMulli/coreclr,josteink/coreclr,krytarowski/coreclr,schellap/coreclr,kyulee1/coreclr,yizhang82/coreclr,rartemev/coreclr,JosephTremoulet/coreclr,jamesqo/coreclr,krytarowski/coreclr,vinnyrom/coreclr,cmckinsey/coreclr,neurospeech/coreclr,KrzysztofCwalina/coreclr,ramarag/coreclr,yeaicc/coreclr,ZhichengZhu/coreclr,James-Ko/coreclr,martinwoodward/coreclr,manu-silicon/coreclr,botaberg/coreclr,martinwoodward/coreclr,dpodder/coreclr,wtgodbe/coreclr,vinnyrom/coreclr,bartdesmet/coreclr,sagood/coreclr,cshung/coreclr,bartdesmet/coreclr,LLITCHEV/coreclr,mmitche/coreclr,shahid-pk/coreclr,sjsinju/coreclr,cshung/coreclr,josteink/coreclr,James-Ko/coreclr,qiudesong/coreclr,martinwoodward/coreclr,vinnyrom/coreclr,ZhichengZhu/coreclr,pgavlin/coreclr,AlexGhiondea/coreclr,schellap/coreclr,James-Ko/coreclr,Dmitry-Me/coreclr,wateret/coreclr,krytarowski/coreclr,cshung/coreclr,manu-silicon/coreclr,ragmani/coreclr,naamunds/coreclr,jhendrixMSFT/coreclr,mmitche/coreclr,yizhang82/coreclr,yizhang82/coreclr,dpodder/coreclr,gkhanna79/coreclr,roncain/coreclr,cydhaselton/coreclr,JonHanna/coreclr,jamesqo/coreclr,sagood/coreclr,dasMulli/coreclr,KrzysztofCwalina/coreclr,AlexGhiondea/coreclr,tijoytom/coreclr,mskvortsov/coreclr,qiudesong/coreclr,wateret/coreclr,dasMulli/coreclr,wtgodbe/coreclr,mskvortsov/coreclr,YongseopKim/coreclr,parjong/coreclr,ZhichengZhu/coreclr,sagood/coreclr,schellap/coreclr,parjong/coreclr,AlexGhiondea/coreclr,russellhadley/coreclr,JonHanna/coreclr,shahid-pk/coreclr,LLITCHEV/coreclr,poizan42/coreclr,KrzysztofCwalina/coreclr,naamunds/coreclr,russellhadley/coreclr,roncain/coreclr,bartdesmet/coreclr,vinnyrom/coreclr,LLITCHEV/coreclr,ramarag/coreclr,yeaicc/coreclr,yeaicc/coreclr,vinnyrom/coreclr,Dmitry-Me/coreclr,yizhang82/coreclr,cmckinsey/coreclr,jhendrixMSFT/coreclr,mskvortsov/coreclr,manu-silicon/coreclr,wateret/coreclr,ZhichengZhu/coreclr,ZhichengZhu/coreclr,sjsinju/coreclr,gkhanna79/coreclr,ragmani/coreclr,ruben-ayrapetyan/coreclr,naamunds/coreclr,alexperovich/coreclr,tijoytom/coreclr,gkhanna79/coreclr,ZhichengZhu/coreclr,neurospeech/coreclr,YongseopKim/coreclr,mmitche/coreclr,dasMulli/coreclr,manu-silicon/coreclr,hseok-oh/coreclr,James-Ko/coreclr,ruben-ayrapetyan/coreclr,hseok-oh/coreclr,botaberg/coreclr,LLITCHEV/coreclr,neurospeech/coreclr,sjsinju/coreclr,gkhanna79/coreclr,ramarag/coreclr,LLITCHEV/coreclr,ZhichengZhu/coreclr,manu-silicon/coreclr,qiudesong/coreclr,wateret/coreclr,hseok-oh/coreclr,roncain/coreclr,wtgodbe/coreclr,YongseopKim/coreclr,hseok-oh/coreclr,cydhaselton/coreclr,mmitche/coreclr,JonHanna/coreclr,roncain/coreclr,yeaicc/coreclr,shahid-pk/coreclr,parjong/coreclr,krk/coreclr,cmckinsey/coreclr,parjong/coreclr,bartdesmet/coreclr,JonHanna/coreclr,ruben-ayrapetyan/coreclr,ramarag/coreclr,yeaicc/coreclr,josteink/coreclr,LLITCHEV/coreclr,russellhadley/coreclr,bartdesmet/coreclr,mskvortsov/coreclr,pgavlin/coreclr,gkhanna79/coreclr,JonHanna/coreclr,jamesqo/coreclr,neurospeech/coreclr,ramarag/coreclr,cmckinsey/coreclr,rartemev/coreclr,qiudesong/coreclr,russellhadley/coreclr,dasMulli/coreclr,ruben-ayrapetyan/coreclr,wtgodbe/coreclr,Dmitry-Me/coreclr,ragmani/coreclr,schellap/coreclr,schellap/coreclr,alexperovich/coreclr,cydhaselton/coreclr,hseok-oh/coreclr,poizan42/coreclr,josteink/coreclr,kyulee1/coreclr,ramarag/coreclr,wateret/coreclr,Dmitry-Me/coreclr,krytarowski/coreclr,dasMulli/coreclr,roncain/coreclr,dpodder/coreclr,botaberg/coreclr,mskvortsov/coreclr,kyulee1/coreclr,mskvortsov/coreclr,dpodder/coreclr,dasMulli/coreclr,yeaicc/coreclr,parjong/coreclr,naamunds/coreclr,KrzysztofCwalina/coreclr,shahid-pk/coreclr,bartdesmet/coreclr,jamesqo/coreclr,sjsinju/coreclr,wtgodbe/coreclr,mmitche/coreclr,poizan42/coreclr,yizhang82/coreclr,cshung/coreclr,yizhang82/coreclr,cshung/coreclr,vinnyrom/coreclr,botaberg/coreclr,cydhaselton/coreclr