canonical / core18

The core18 base snap
14 stars 26 forks source link

Set the C.UTF-8 locale for the 001-extra-packages.test. #114

Closed sil2100 closed 5 years ago

sil2100 commented 5 years ago

Otherwise on systems (like our launchpad snap builders) the test will fail as the hard-coded list is differently sorted due to a non C.UTF-8 locale. This way we know what we're dealing with and the build should no longer fail.

mvo5 commented 5 years ago

Looks fine! But now the test is unhappy, so maybe/probably needs some more tweaks?

sil2100 commented 5 years ago

I'm starting to feel this is related to travis running trusty. This is exactly the error I saw during the amd64 snap build earlier, the error I wanted to get fixed. Could it be that comm in trusty has different behavior e.g. doesn't take the locale into consideration? Looking into that.