~chipaca/snappy/snappy-tar-pack-mknod

« back to all changes in this revision

Viewing changes to partition/bootloader_uboot_test.go

  • Committer: Michael Vogt
  • Date: 2015-02-13 13:29:27 UTC
  • mfrom: (171 snappy)
  • mto: This revision was merged to the branch mainline in revision 172.
  • Revision ID: michael.vogt@ubuntu.com-20150213132927-5eyg71l1yysvw6ul
mergedĀ lp:snappy

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        c.Assert(err, IsNil)
126
126
        c.Assert(v, Equals, "a")
127
127
}
 
128
 
 
129
func (s *PartitionTestSuite) TestGetBootloaderWithUboot(c *C) {
 
130
        s.makeFakeUbootEnv(c)
 
131
        p := New()
 
132
        bootloader, err := getBootloader(p)
 
133
        c.Assert(err, IsNil)
 
134
        c.Assert(bootloader.Name(), Equals, bootloaderNameUboot)
 
135
}