All of lore.kernel.org
 help / color / mirror / Atom feed
* main - tests: devicesfile-edit.sh fix loop file name
@ 2022-04-21 16:32 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2022-04-21 16:32 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5c50590b22b37055e93b571fb26d1854f73ae2fd
Commit:        5c50590b22b37055e93b571fb26d1854f73ae2fd
Parent:        bee575d678399a45db09ec8fcba79eae3890ec54
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Thu Apr 21 11:31:06 2022 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Thu Apr 21 11:31:06 2022 -0500

tests: devicesfile-edit.sh fix loop file name

don't remove dash from loop file name
---
 test/shell/devicesfile-edit.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/shell/devicesfile-edit.sh b/test/shell/devicesfile-edit.sh
index 2a046e213..a71ca0c43 100644
--- a/test/shell/devicesfile-edit.sh
+++ b/test/shell/devicesfile-edit.sh
@@ -141,8 +141,8 @@ rm $DF
 lvmdevices --adddev "$LOOP1"
 lvmdevices --adddev "$LOOP2"
 vgcreate $vg "$LOOP1" "$LOOP2"
-IDNAME1=`pvs "$LOOP1" --noheading -o deviceid | tr -d - | awk '{print $1}'`
-IDNAME2=`pvs "$LOOP2" --noheading -o deviceid | tr -d - | awk '{print $1}'`
+IDNAME1=`pvs "$LOOP1" --noheading -o deviceid | awk '{print $1}'`
+IDNAME2=`pvs "$LOOP2" --noheading -o deviceid | awk '{print $1}'`
 lvmdevices --deldev "$IDNAME2" --deviceidtype loop_file
 not grep "$IDNAME2" $DF
 not grep "$LOOP2" $DF


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-21 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21 16:32 main - tests: devicesfile-edit.sh fix loop file name David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.