From: Richard Jones Date: Fri, 7 Aug 2009 07:32:56 +0000 (+0100) Subject: Tests: swapon_device test mkswap /dev/sda1 instead of /dev/sdb. X-Git-Tag: 1.0.67~60 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=39e4f1dad208124640f0f795518390ba680a9704;hp=39e4f1dad208124640f0f795518390ba680a9704;p=libguestfs.git 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. ---