Tests: swapon_device test mkswap /dev/sda1 instead of /dev/sdb.
authorRichard Jones <rjones@trick.home.annexia.org>
Fri, 7 Aug 2009 07:32:56 +0000 (08:32 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Fri, 7 Aug 2009 07:32:56 +0000 (08:32 +0100)
commit39e4f1dad208124640f0f795518390ba680a9704
treecb22996b2b4a4950782436ef46493e1a14552e02
parent530a90d3d4d7d107f52ac8db90fdb86c4f3e1737
Tests: swapon_device test mkswap /dev/sda1 instead of /dev/sdb.

On RHEL 5, mkswap /dev/sdb fails, even with the '-f' option
(contradictory to what the manual page says).

This commit adds a new 'InitPartition' initialization which
just creates /dev/sda1, and then does the swap test on that.
src/generator.ml