[parted-devel] [PATCH 2/2] tests: fix t1700
Brian C. Lane
bcl at redhat.com
Fri Apr 18 17:15:25 UTC 2014
On Fri, Apr 18, 2014 at 01:01:42PM -0400, Phillip Susi wrote:
> bb181a7e: "tests: Use force for xfs in t1700 and a larger file" caused
> the previous filesystem signatures to be left in the image file
> causing mkfs.nilfs2 to complain that there is already an xfs filesystem
> there, and hang the test suite waiting for an answer to proceed or not.
> Remove the file between filesystems so it is recreated cleanly again.
> ---
> tests/t1700-probe-fs.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/t1700-probe-fs.sh b/tests/t1700-probe-fs.sh
> index bf6ad9c..2ba2f95 100755
> --- a/tests/t1700-probe-fs.sh
> +++ b/tests/t1700-probe-fs.sh
> @@ -39,6 +39,7 @@ for type in ext2 ext3 ext4 btrfs xfs nilfs2; do
> # probe the $type file system
> parted -m -s $dev u s print >out 2>&1 || fail=1
> grep '^1:.*:'$type'::;$' out || { cat out; fail=1; }
> + rm $dev
>
> done
>
> --
> 1.9.1
>
>
I cleaned this up in v2 of my commit adding vfat and ntfs checks -- but
doing it after instead of before is cleaner so I'll change that.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the parted-devel
mailing list