From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - tests: devicesfile-edit.sh fix loop file name
Date: Thu, 21 Apr 2022 16:32:50 +0000 (GMT) [thread overview]
Message-ID: <20220421163250.1950E383941A@sourceware.org> (raw)
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
reply other threads:[~2022-04-21 16:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220421163250.1950E383941A@sourceware.org \
--to=teigland@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.