Fix some bugs in Linux ILLINK testing.
Fix some bugs in Linux ILLINK testing.

Fix a few problems in the <test>.sh generation for
running CoreCLR tests on Linux via ILLINK

hseok-oh/coreclr,parjong/coreclr,rartemev/coreclr,AlexGhiondea/coreclr,hseok-oh/coreclr,dpodder/coreclr,mmitche/coreclr,cmckinsey/coreclr,mskvortsov/coreclr,russellhadley/coreclr,hseok-oh/coreclr,sagood/coreclr,russellhadley/coreclr,cshung/coreclr,yeaicc/coreclr,sagood/coreclr,wateret/coreclr,wtgodbe/coreclr,dpodder/coreclr,krytarowski/coreclr,poizan42/coreclr,ruben-ayrapetyan/coreclr,parjong/coreclr,krytarowski/coreclr,krk/coreclr,cydhaselton/coreclr,hseok-oh/coreclr,ragmani/coreclr,jamesqo/coreclr,kyulee1/coreclr,dpodder/coreclr,AlexGhiondea/coreclr,qiudesong/coreclr,cmckinsey/coreclr,sagood/coreclr,ragmani/coreclr,wateret/coreclr,cmckinsey/coreclr,hseok-oh/coreclr,cydhaselton/coreclr,gkhanna79/coreclr,mskvortsov/coreclr,cshung/coreclr,kyulee1/coreclr,qiudesong/coreclr,cmckinsey/coreclr,cshung/coreclr,krk/coreclr,gkhanna79/coreclr,YongseopKim/coreclr,tijoytom/coreclr,parjong/coreclr,tijoytom/coreclr,alexperovich/coreclr,mmitche/coreclr,ragmani/coreclr,botaberg/coreclr,JonHanna/coreclr,yizhang82/coreclr,wateret/coreclr,mmitche/coreclr,mmitche/coreclr,krk/coreclr,cydhaselton/coreclr,yeaicc/coreclr,gkhanna79/coreclr,yizhang82/coreclr,jamesqo/coreclr,JonHanna/coreclr,rartemev/coreclr,qiudesong/coreclr,cmckinsey/coreclr,cydhaselton/coreclr,yeaicc/coreclr,ragmani/coreclr,poizan42/coreclr,tijoytom/coreclr,kyulee1/coreclr,tijoytom/coreclr,AlexGhiondea/coreclr,wtgodbe/coreclr,YongseopKim/coreclr,sagood/coreclr,alexperovich/coreclr,krytarowski/coreclr,ruben-ayrapetyan/coreclr,wateret/coreclr,wtgodbe/coreclr,tijoytom/coreclr,YongseopKim/coreclr,poizan42/coreclr,James-Ko/coreclr,poizan42/coreclr,russellhadley/coreclr,botaberg/coreclr,kyulee1/coreclr,pgavlin/coreclr,AlexGhiondea/coreclr,dpodder/coreclr,James-Ko/coreclr,rartemev/coreclr,kyulee1/coreclr,sagood/coreclr,qiudesong/coreclr,alexperovich/coreclr,wtgodbe/coreclr,mskvortsov/coreclr,JosephTremoulet/coreclr,qiudesong/coreclr,JonHanna/coreclr,rartemev/coreclr,JonHanna/coreclr,yeaicc/coreclr,krk/coreclr,ruben-ayrapetyan/coreclr,gkhanna79/coreclr,mskvortsov/coreclr,alexperovich/coreclr,JonHanna/coreclr,qiudesong/coreclr,dpodder/coreclr,James-Ko/coreclr,cshung/coreclr,sagood/coreclr,wtgodbe/coreclr,krytarowski/coreclr,James-Ko/coreclr,James-Ko/coreclr,cshung/coreclr,wtgodbe/coreclr,alexperovich/coreclr,krk/coreclr,jamesqo/coreclr,poizan42/coreclr,botaberg/coreclr,YongseopKim/coreclr,botaberg/coreclr,JosephTremoulet/coreclr,ruben-ayrapetyan/coreclr,gkhanna79/coreclr,cydhaselton/coreclr,JosephTremoulet/coreclr,YongseopKim/coreclr,krytarowski/coreclr,yizhang82/coreclr,James-Ko/coreclr,cmckinsey/coreclr,AlexGhiondea/coreclr,yizhang82/coreclr,cydhaselton/coreclr,botaberg/coreclr,tijoytom/coreclr,mmitche/coreclr,dpodder/coreclr,kyulee1/coreclr,cmckinsey/coreclr,ragmani/coreclr,JosephTremoulet/coreclr,mskvortsov/coreclr,ruben-ayrapetyan/coreclr,ruben-ayrapetyan/coreclr,hseok-oh/coreclr,yeaicc/coreclr,jamesqo/coreclr,rartemev/coreclr,krytarowski/coreclr,jamesqo/coreclr,russellhadley/coreclr,krk/coreclr,wateret/coreclr,rartemev/coreclr,yizhang82/coreclr,yeaicc/coreclr,jamesqo/coreclr,russellhadley/coreclr,JosephTremoulet/coreclr,parjong/coreclr,JonHanna/coreclr,AlexGhiondea/coreclr,yizhang82/coreclr,pgavlin/coreclr,JosephTremoulet/coreclr,gkhanna79/coreclr,alexperovich/coreclr,pgavlin/coreclr,cshung/coreclr,pgavlin/coreclr,russellhadley/coreclr,botaberg/coreclr,parjong/coreclr,parjong/coreclr,YongseopKim/coreclr,yeaicc/coreclr,wateret/coreclr,pgavlin/coreclr,poizan42/coreclr,mmitche/coreclr,pgavlin/coreclr,mskvortsov/coreclr,ragmani/coreclr