From bccfd92f4a0207dcfcb6c3da033f7ac5b2b4dd13 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 5 Oct 2023 01:10:13 +0200 Subject: [PATCH] tests: previous patch wrongly replaced tab Tab overwrote first char instead of insert. Actually it should be a single function. --- test/shell/devicesfile-vpd-ids.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/test/shell/devicesfile-vpd-ids.sh b/test/shell/devicesfile-vpd-ids.sh index a71fb3192..2e2c2f3ee 100644 --- a/test/shell/devicesfile-vpd-ids.sh +++ b/test/shell/devicesfile-vpd-ids.sh @@ -249,11 +249,11 @@ rm "$DF" aux wipefs_a "$DEV1" mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device" xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF - 431 302e 4154 4120 2020 2020 5642 4f58 - 048 4152 4444 4953 4b20 2020 2020 2020 - 020 2020 2020 2020 2020 2020 2020 2020 - 020 2020 5642 3963 3130 6433 3138 2d31 - 838 6439 6562 6320 0a + 7431 302e 4154 4120 2020 2020 5642 4f58 + 2048 4152 4444 4953 4b20 2020 2020 2020 + 2020 2020 2020 2020 2020 2020 2020 2020 + 2020 2020 5642 3963 3130 6433 3138 2d31 + 3838 6439 6562 6320 0a EOF cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" lvmdevices --adddev "$DEV1" @@ -276,11 +276,11 @@ rm "$DF" aux wipefs_a "$DEV1" mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device" xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF - 431 302e 4154 4120 2020 2020 5642 4f58 - 048 4152 4444 4953 4b20 2020 2020 2020 - 020 2020 2020 2020 2020 2020 2020 2020 - 020 2020 5642 3963 3130 6433 3138 2d31 - 838 6439 6562 6320 0a + 7431 302e 4154 4120 2020 2020 5642 4f58 + 2048 4152 4444 4953 4b20 2020 2020 2020 + 2020 2020 2020 2020 2020 2020 2020 2020 + 2020 2020 5642 3963 3130 6433 3138 2d31 + 3838 6439 6562 6320 0a EOF cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" lvmdevices --adddev "$DEV1" @@ -325,11 +325,11 @@ rm "$DF" aux wipefs_a "$DEV1" mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device" xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF - 431 302e 4154 4120 2020 2020 5642 4f58 - 048 4152 4444 4953 4b20 2020 2020 2020 - 020 2020 2020 2020 2020 2020 2020 2020 - 020 2020 5642 3963 3130 6433 3138 2d31 - 838 6439 6562 5f20 0a + 7431 302e 4154 4120 2020 2020 5642 4f58 + 2048 4152 4444 4953 4b20 2020 2020 2020 + 2020 2020 2020 2020 2020 2020 2020 2020 + 2020 2020 5642 3963 3130 6433 3138 2d31 + 3838 6439 6562 5f20 0a EOF cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" # The wwid has an actual underscore char (5f) followed by a space char (20)