Re: bugs on exotic archs

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

 



On Tuesday 13 May 2014, Karel Zak wrote:
> On Mon, May 12, 2014 at 08:45:18PM +0200, Ruediger Meier wrote:

> > Failing test on certain archs:
> >
> > %ifarch ppc ppc64
> >   hexdump
>
>  this is not a bug, but the hexdump test disadvantage -- the output
>  may be different on big-endian if the output is composed from more
> input bytes.
>
> >   fdisk/bsd
>
>  BSD disklabel location depends on arch

I'am going to fix these fdisk/bsd test md5sums for big endian.
Below I've added md5sum and hex diff of LE and BE images if
somebody want to check:

md5sum diff:
-------------------
 rudi@gcc1-power7:~/devel/util-linux/build$ cat tests/diff/fdisk/bsd
--- /home/rudi/devel/util-linux/tests/expected/fdisk/bsd        2014-05-17 04:22:07.140999802 -0700
+++ /home/rudi/devel/util-linux/build/tests/output/fdisk/bsd    2014-05-29 07:39:26.715585544 -0700
@@ -50,7 +50,7 @@
 -------------------

 Create default BSD
-2e1cee529cb59c9341afef0443f196a1 bsd.img
+c2273b52976351db75596c47c10b0725 bsd.img

 ---layout----------
 Welcome to fdisk <removed>.
@@ -79,7 +79,7 @@
 Command (m for help):
 -------------------

-b5c121c2091b2ff26b880551feac7112 bsd.img
+9a234a5b99e37d2ce0d92b65437b93cd bsd.img

 ---layout----------
 Welcome to fdisk <removed>.
--------------------


hexdump diff 1, "2e1cee529cb59c9341afef0443f196a1 vs c2273b52976351db75596c47c10b0725":
-----------------------------
--- /tmp/bsd-le-1.img_  2014-05-29 16:47:54.110684041 +0200
+++ /tmp/bsd-be-1.img_  2014-05-29 16:47:54.040685344 +0200
@@ -7,19 +7,19 @@
 000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
 00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 *
-00200200  57 45 56 82 06 00 00 00  00 00 00 00 00 00 00 00  |WEV.............|
-00200210  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
-00200220  00 00 00 00 00 00 00 00  00 02 00 00 3f 00 00 00  |............?...|
-00200230  ff 00 00 00 01 00 00 00  c1 3e 00 00 c1 3e 00 00  |.........>...>..|
-00200240  00 00 00 00 00 00 00 00  10 0e 01 00 00 00 00 00  |................|
-00200250  00 00 00 00 00 00 00 00  20 00 00 00 00 00 00 00  |........ .......|
-00200260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+00200040  82 56 45 57 00 06 00 00  00 00 00 00 00 00 00 00  |.VEW............|
+00200050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+00200060  00 00 00 00 00 00 00 00  00 00 02 00 00 00 00 3f  |...............?|
+00200070  00 00 00 ff 00 00 00 01  00 00 3e c1 00 00 3e c1  |..........>...>.|
+00200080  00 00 00 00 00 00 00 00  0e 10 00 01 00 00 00 00  |................|
+00200090  00 00 00 00 00 00 00 00  00 00 00 20 00 00 00 00  |........... ....|
+002000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 *
-00200280  00 00 00 00 57 45 56 82  33 62 04 00 00 20 00 00  |....WEV.3b... ..|
-00200290  00 20 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |. ..............|
-002002a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
-002002b0  00 00 00 00 00 40 00 00  00 10 00 00 00 00 00 00  |.....@..........|
-002002c0  00 00 00 00 c1 3e 00 00  00 00 00 00 00 00 00 00  |.....>..........|
-002002d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+002000c0  00 00 00 00 82 56 45 57  62 33 00 04 00 00 20 00  |.....VEWb3.... .|
+002000d0  00 00 20 00 00 00 00 00  00 00 00 00 00 00 00 00  |.. .............|
+002000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+002000f0  00 00 00 00 00 00 40 00  00 00 10 00 00 00 00 00  |......@.........|
+00200100  00 00 00 00 00 00 3e c1  00 00 00 00 00 00 00 00  |......>.........|
+00200110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 *
 00a00000
--------------------------


hexdump diff 1, "b5c121c2091b2ff26b880551feac7112 vs 9a234a5b99e37d2ce0d92b65437b93cd":
-----------------------------
--- /tmp/bsd-le-2.img_  2014-05-29 16:47:54.147683353 +0200
+++ /tmp/bsd-be-2.img_  2014-05-29 16:47:54.075684693 +0200
@@ -7,19 +7,19 @@
 000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
 00000200  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 *
-00200200  57 45 56 82 06 00 00 00  00 00 00 00 00 00 00 00  |WEV.............|
-00200210  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
-00200220  00 00 00 00 00 00 00 00  00 02 00 00 3f 00 00 00  |............?...|
-00200230  ff 00 00 00 01 00 00 00  c1 3e 00 00 c1 3e 00 00  |.........>...>..|
-00200240  00 00 00 00 00 00 00 00  10 0e 01 00 00 00 00 00  |................|
-00200250  00 00 00 00 00 00 00 00  20 00 00 00 00 00 00 00  |........ .......|
-00200260  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+00200040  82 56 45 57 00 06 00 00  00 00 00 00 00 00 00 00  |.VEW............|
+00200050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+00200060  00 00 00 00 00 00 00 00  00 00 02 00 00 00 00 3f  |...............?|
+00200070  00 00 00 ff 00 00 00 01  00 00 3e c1 00 00 3e c1  |..........>...>.|
+00200080  00 00 00 00 00 00 00 00  0e 10 00 01 00 00 00 00  |................|
+00200090  00 00 00 00 00 00 00 00  00 00 00 20 00 00 00 00  |........... ....|
+002000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 *
-00200280  00 00 00 00 57 45 56 82  35 7a 04 00 00 20 00 00  |....WEV.5z... ..|
-00200290  00 20 00 00 01 08 00 00  00 10 00 00 00 00 00 00  |. ..............|
-002002a0  07 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
-002002b0  00 00 00 00 00 40 00 00  00 10 00 00 00 00 00 00  |.....@..........|
-002002c0  00 00 00 00 c1 3e 00 00  00 00 00 00 00 00 00 00  |.....>..........|
-002002d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+002000c0  00 00 00 00 82 56 45 57  7d 32 00 04 00 00 20 00  |.....VEW}2.... .|
+002000d0  00 00 20 00 00 00 08 01  00 00 10 00 00 00 00 00  |.. .............|
+002000e0  07 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
+002000f0  00 00 00 00 00 00 40 00  00 00 10 00 00 00 00 00  |......@.........|
+00200100  00 00 00 00 00 00 3e c1  00 00 00 00 00 00 00 00  |......>.........|
+00200110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
 *
 00a00000
-------------------------

cu,
Rudi
--
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