227
227
// ensure that the right parameters are passed to runDebsigVerify()
228
228
func (s *SnapTestSuite) TestLocalSnapInstallDebsigVerifyPassesUnauth(c *C) {
231
c.Assert(ioutil.WriteFile(f, []byte("#!/bin/sh\nexit 10\n"), 0755), IsNil)
236
237
snapFile := makeTestSnapPackage(c, "")
237
238
name, err := installClick(snapFile, AllowUnauthenticated, nil, testNamespace)
239
240
c.Check(name, Equals, "foo")
242
242
_, err = installClick(snapFile, 0, nil, testNamespace)