1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 | diff --git a/snap/squashfs/squashfs_test.go b/snap/squashfs/squashfs_test.go
index d32e28988..4caaee895 100644
--- a/snap/squashfs/squashfs_test.go
+++ b/snap/squashfs/squashfs_test.go
@@ -74,6 +74,10 @@ func makeSnap(c *C, manifest, data string) *Snap {
return snap
}
+func (s *SquashfsTestSuite) SetUpSuite(c *C) {
+ os.Setenv("LANG", "C.UTF-8")
+}
+
func (s *SquashfsTestSuite) SetUpTest(c *C) {
err := os.Chdir(c.MkDir())
c.Assert(err, IsNil)
|