All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
To: <guaneryu@gmail.com>
Cc: <fstests@vger.kernel.org>, Yang Xu <xuyang2018.jy@cn.fujitsu.com>
Subject: [PATCH v2] generic/611: Use _getfattr instead of GETFATTR_PROG
Date: Sun, 11 Oct 2020 13:51:35 +0800	[thread overview]
Message-ID: <1602395495-4274-1-git-send-email-xuyang2018.jy@cn.fujitsu.com> (raw)
In-Reply-To: <20201011050622.GV3853@desktop>

The {=""} will break the golden image, so use _getfattr to filter
the redundant ="" at the end if it has.

Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
---
 tests/generic/611     | 2 +-
 tests/generic/611.out | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/generic/611 b/tests/generic/611
index f4158bb3..acbbd2a9 100755
--- a/tests/generic/611
+++ b/tests/generic/611
@@ -51,7 +51,7 @@ touch "${localfile}"
 _scratch_cycle_mount
 
 # If the target bug isn't fixed, getfattr fails
-${GETFATTR_PROG} --absolute-names -n user.a $localfile | grep 'user.a'
+_getfattr --absolute-names -n user.a $localfile | grep 'user.a'
 
 status=0
 exit
diff --git a/tests/generic/611.out b/tests/generic/611.out
index 1ab12434..8ccf52f0 100644
--- a/tests/generic/611.out
+++ b/tests/generic/611.out
@@ -1,2 +1,2 @@
 QA output created by 611
-user.a=""
+user.a
-- 
2.23.0




      reply	other threads:[~2020-10-11  5:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-11  2:14 [PATCH] generic/611: Filter getfattr output Yang Xu
2020-10-11  5:06 ` Eryu Guan
2020-10-11  5:51   ` Yang Xu [this message]

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=1602395495-4274-1-git-send-email-xuyang2018.jy@cn.fujitsu.com \
    --to=xuyang2018.jy@cn.fujitsu.com \
    --cc=fstests@vger.kernel.org \
    --cc=guaneryu@gmail.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.