From: Fam Zheng <famz@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu_iotests: Remove _readlink()
Date: Fri, 21 Apr 2017 16:15:55 +0800 [thread overview]
Message-ID: <20170421081555.GB8342@lemon.lan> (raw)
In-Reply-To: <1492761662-5644-1-git-send-email-kwolf@redhat.com>
On Fri, 04/21 10:01, Kevin Wolf wrote:
> It is unused.
>
> Suggestetd-by: Fam Zheng <famz@redhat.com>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
> ---
> tests/qemu-iotests/common.config | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/tests/qemu-iotests/common.config b/tests/qemu-iotests/common.config
> index 1222e43..66f4e0b 100644
> --- a/tests/qemu-iotests/common.config
> +++ b/tests/qemu-iotests/common.config
> @@ -204,23 +204,5 @@ fi
>
> export SAMPLE_IMG_DIR
>
> -_readlink()
> -{
> - if [ $# -ne 1 ]; then
> - echo "Usage: _readlink filename" 1>&2
> - exit 1
> - fi
> -
> - perl -e "\$in=\"$1\";" -e '
> - $lnk = readlink($in);
> - if ($lnk =~ m!^/.*!) {
> - print "$lnk\n";
> - }
> - else {
> - chomp($dir = `dirname $in`);
> - print "$dir/$lnk\n";
> - }'
> -}
> -
> # make sure this script returns success
> true
> --
> 1.8.3.1
>
Reviewed-by: Fam Zheng <famz@redhat.com>
next prev parent reply other threads:[~2017-04-21 8:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-21 8:01 [Qemu-devel] [PATCH] qemu_iotests: Remove _readlink() Kevin Wolf
2017-04-21 8:15 ` Fam Zheng [this message]
2017-04-21 13:27 ` Eric Blake
2017-04-22 17:35 ` [Qemu-devel] [Qemu-block] " Max Reitz
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=20170421081555.GB8342@lemon.lan \
--to=famz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).