1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

tests: previous patch wrongly replaced tab

Tab overwrote first char instead of insert.
Actually it should be a single function.
This commit is contained in:
Zdenek Kabelac 2023-10-05 01:10:13 +02:00
parent ede63b5029
commit bccfd92f4a

View File

@ -249,11 +249,11 @@ rm "$DF"
aux wipefs_a "$DEV1" aux wipefs_a "$DEV1"
mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device" mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device"
xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF
431 302e 4154 4120 2020 2020 5642 4f58 7431 302e 4154 4120 2020 2020 5642 4f58
048 4152 4444 4953 4b20 2020 2020 2020 2048 4152 4444 4953 4b20 2020 2020 2020
020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020
020 2020 5642 3963 3130 6433 3138 2d31 2020 2020 5642 3963 3130 6433 3138 2d31
838 6439 6562 6320 0a 3838 6439 6562 6320 0a
EOF EOF
cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid"
lvmdevices --adddev "$DEV1" lvmdevices --adddev "$DEV1"
@ -276,11 +276,11 @@ rm "$DF"
aux wipefs_a "$DEV1" aux wipefs_a "$DEV1"
mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device" mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device"
xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF
431 302e 4154 4120 2020 2020 5642 4f58 7431 302e 4154 4120 2020 2020 5642 4f58
048 4152 4444 4953 4b20 2020 2020 2020 2048 4152 4444 4953 4b20 2020 2020 2020
020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020
020 2020 5642 3963 3130 6433 3138 2d31 2020 2020 5642 3963 3130 6433 3138 2d31
838 6439 6562 6320 0a 3838 6439 6562 6320 0a
EOF EOF
cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid"
lvmdevices --adddev "$DEV1" lvmdevices --adddev "$DEV1"
@ -325,11 +325,11 @@ rm "$DF"
aux wipefs_a "$DEV1" aux wipefs_a "$DEV1"
mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device" mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device"
xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF
431 302e 4154 4120 2020 2020 5642 4f58 7431 302e 4154 4120 2020 2020 5642 4f58
048 4152 4444 4953 4b20 2020 2020 2020 2048 4152 4444 4953 4b20 2020 2020 2020
020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020
020 2020 5642 3963 3130 6433 3138 2d31 2020 2020 5642 3963 3130 6433 3138 2d31
838 6439 6562 5f20 0a 3838 6439 6562 5f20 0a
EOF EOF
cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid"
# The wwid has an actual underscore char (5f) followed by a space char (20) # The wwid has an actual underscore char (5f) followed by a space char (20)