From 62c399ffaf0869b966ec4279df8b4f14f191aa7a Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Thu, 27 Apr 2023 19:29:54 +0000 Subject: [PATCH] test: clarify GPT related comment in blockdev.sh After we create the GPT, we change the partition type GUID to the associated SPDK value. The current comment just says "change the GUID" which is ambiguous because there are multiple GUIDs associated with each partition. Signed-off-by: Jim Harris Change-Id: Id821c5c5bbd7a72d84d5ddf4d91d633307f2235b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17855 Reviewed-by: Aleksey Marchuk Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker --- test/bdev/blockdev.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bdev/blockdev.sh b/test/bdev/blockdev.sh index ea9b75f18..25ff4d764 100755 --- a/test/bdev/blockdev.sh +++ b/test/bdev/blockdev.sh @@ -119,7 +119,7 @@ function setup_gpt_conf() { if [[ -n $gpt_nvme ]]; then # Create gpt partition table parted -s "$gpt_nvme" mklabel gpt mkpart SPDK_TEST_first '0%' '50%' mkpart SPDK_TEST_second '50%' '100%' - # change the GUID to SPDK GUID value + # Change the partition type GUIDs to SPDK partition type values SPDK_GPT_OLD_GUID=$(get_spdk_gpt_old) SPDK_GPT_GUID=$(get_spdk_gpt) sgdisk -t "1:$SPDK_GPT_GUID" "$gpt_nvme"