Re: [PATCH] tests: fix layout info in dos and non-dos mode fdisk test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 01, 2012 at 09:37:44AM +0200, Bernhard Voelker wrote:
> since you added the layout info to ts/fdisk/mbr-dos-mode, that test fails.
> It seems you inserted too many blanks in the header line (... or that test
> behaves differently on my machine).
> Likewise with the new mbr-nondos-mode test.

Hmm.. good catch.

> Given the result is not hosed on my machine, I've attached a patch
> to adapt the expected output of both tests.

This is not proper fix.

The whitespace is dynamically generated by fdisk according to device
name size. It means that we have to standardize the blanks in the
header line for the test.

The problem should be fixed now.

It would be nice standardize the headers and devnames in all tests
where is fdisk output.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux