]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: fix fdisk/bsd for ppc64le
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 12 Mar 2015 18:08:26 +0000 (19:08 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 13 Mar 2015 10:55:08 +0000 (11:55 +0100)
Actually Aurelien's patch a80886e9 should have addressed this already
because it's the case LE, BSD_LABELSECTOR = 0, BSD_LABELOFFSET = 64.

I've asked about this on mailing list but couldn't get more
informations.
Thread "test fdisk/bsd on exotic archs":
http://comments.gmane.org/gmane.linux.utilities.util-linux-ng/10621

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/ts/fdisk/bsd

index dcad1152cf35de793cacf7c3d241a0037386e41f..b76852c66a33063a11b1990e3a92a49e3c5b73c0 100755 (executable)
@@ -66,8 +66,8 @@ function fdisk_bsd_offset_and_byte_order_clean
        else
                # BSD_LABELSECTOR = 0, BSD_LABELOFFSET = 64
                sed -i \
-               -e "s/78a922a80361cb73049bced72e0f8f1d/$md5_bsdimg1_LE_0_64/" \
-               -e "s/fc2803672a0643ffe46da325629616fc/$md5_bsdimg2_LE_0_64/" \
+               -e "s/6d760d7a8ef33b27cc6e27f1e8807d48/$md5_bsdimg1_LE_0_64/" \
+               -e "s/3739c7959adb42693a69edb7a99914e8/$md5_bsdimg2_LE_0_64/" \
                "$TS_OUTPUT"
        fi
 }