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

« back to all changes in this revision

Viewing changes to partition/bootloader_grub_test.go

  • Committer: Snappy Tarmac
  • Author(s): Sergio Schvezov
  • Date: 2015-04-30 13:02:18 UTC
  • mfrom: (431.1.1 snappy)
  • Revision ID: snappy_tarmac-20150430130218-u0nq1d081lbtyuli
Marking the ab partition on successful boots in case we come back from a broken boot by sergiusens approved by mvo

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
 
151
151
        c.Assert(allCommands[1], DeepEquals, expectedGrubSet)
152
152
 
153
 
        expectedGrubSet2 := singleCommand{bootloaderGrubEnvCmd, bootloaderGrubEnvFile, "set", "snappy_mode=regular"}
 
153
        expectedGrubSet2 := singleCommand{bootloaderGrubEnvCmd, bootloaderGrubEnvFile, "set", "snappy_ab=a"}
154
154
 
155
155
        c.Assert(allCommands[2], DeepEquals, expectedGrubSet2)
 
156
 
 
157
        expectedGrubSet3 := singleCommand{bootloaderGrubEnvCmd, bootloaderGrubEnvFile, "set", "snappy_mode=regular"}
 
158
 
 
159
        c.Assert(allCommands[3], DeepEquals, expectedGrubSet3)
 
160
 
156
161
}