Fix swapon_label test
authorMatthew Booth <mbooth@redhat.com>
Mon, 3 Aug 2009 19:29:24 +0000 (20:29 +0100)
committerMatthew Booth <mbooth@redhat.com>
Wed, 5 Aug 2009 16:08:03 +0000 (17:08 +0100)
commit8eb7f1a58f424ad0f210fe638574b5067d2ac97b
tree00717bc9b23d2b05b3f764bc46a9e1e014c3789d
parent634c033df2e698e1fcc692585fa445d019f0b6e6
Fix swapon_label test

The swapon label test has a side-effect, in that it creates a new partition.
This causes the later failure of the list_partitions test.

This change causes the swapon_label test to zero /dev/sdb after the test, and
then re-read the partition table.
src/generator.ml