From: Karel Zak Date: Wed, 16 Mar 2016 12:01:10 +0000 (+0100) Subject: tests: mark old bsd fdisk test as deprecated X-Git-Tag: v2.28-rc2~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c48db0b8c0edd6fc9b010f9accc3c20f24c4277;p=thirdparty%2Futil-linux.git tests: mark old bsd fdisk test as deprecated It seems better to use hexdump rather than md5sum, but it means that we have to gather hexdumps of the all possible BSD variants. For this purpose will be introduced a new bsd fdisk test and to verify the new hexdumps we can use this old test as both tests are exactly the same. Signed-off-by: Karel Zak --- diff --git a/tests/expected/fdisk/bsd b/tests/expected/fdisk/bsd-deprecated similarity index 90% rename from tests/expected/fdisk/bsd rename to tests/expected/fdisk/bsd-deprecated index be1ba7be0b..53c13c4112 100644 --- a/tests/expected/fdisk/bsd +++ b/tests/expected/fdisk/bsd-deprecated @@ -1,7 +1,7 @@ Initialize empty image -f1c9645dbc14efddc7d8a322685f26eb bsd.img +f1c9645dbc14efddc7d8a322685f26eb bsd-deprecated.img Create new DOS partition table -57e721e38d1266c2df055067c18f2cf9 bsd.img +57e721e38d1266c2df055067c18f2cf9 bsd-deprecated.img ---layout---------- Disk : 10 MiB, 10485760 bytes, 20480 sectors @@ -13,7 +13,7 @@ Disk identifier: ------------------- Create 1st primary partition -ada64ace122978d00d1d1c0e5ee45d26 bsd.img +ada64ace122978d00d1d1c0e5ee45d26 bsd-deprecated.img ---layout---------- Disk : 10 MiB, 10485760 bytes, 20480 sectors @@ -28,9 +28,9 @@ Device Boot Start End Sectors Size Id Type ------------------- Create 2st primary partition -1bebf87248e05d6e4e62b749da65d023 bsd.img +1bebf87248e05d6e4e62b749da65d023 bsd-deprecated.img Set 2nd partition type -2d8e8dff51a88a045db233418dd73fbe bsd.img +2d8e8dff51a88a045db233418dd73fbe bsd-deprecated.img ---layout---------- Disk : 10 MiB, 10485760 bytes, 20480 sectors @@ -46,7 +46,7 @@ Device Boot Start End Sectors Size Id Type ------------------- Create default BSD -2e1cee529cb59c9341afef0443f196a1 bsd.img +2e1cee529cb59c9341afef0443f196a1 bsd-deprecated.img ---layout---------- @@ -75,7 +75,7 @@ Command (m for help): Leaving nested disklabel. Command (m for help): ------------------- -b5c121c2091b2ff26b880551feac7112 bsd.img +b5c121c2091b2ff26b880551feac7112 bsd-deprecated.img ---layout---------- diff --git a/tests/ts/fdisk/bsd b/tests/ts/fdisk/bsd-deprecated similarity index 98% rename from tests/ts/fdisk/bsd rename to tests/ts/fdisk/bsd-deprecated index 347c0d0784..5e2cfa4239 100755 --- a/tests/ts/fdisk/bsd +++ b/tests/ts/fdisk/bsd-deprecated @@ -2,7 +2,7 @@ # # This file is part of util-linux. # -# Copyright (C) 2013 Karel Zak +# Copyright (C) 2013-2016 Karel Zak # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by