aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEryu Guan <eguan@redhat.com>2016-10-08 16:40:24 +0800
committerEryu Guan <eguan@redhat.com>2016-10-14 10:05:34 +0800
commit16ef0843f2122deaf9845833ae73f60c67862aa4 (patch)
treec6cf358d45ab8983f0e58115fa9be18c90093db5
parent8cfd58a5dbb9bbf8924c68f4ca13bfe41eabce91 (diff)
downloadxfstests-dev-16ef0843f2122deaf9845833ae73f60c67862aa4.tar.gz
xfs/122: remove dead code
Seems this hunk of dead code is used for debug purpose to inspect what the output looks like after _attribute_filter. Just remove it. Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-xtests/xfs/1224
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/xfs/122 b/tests/xfs/122
index 330d3ac696..f39cebaf34 100755
--- a/tests/xfs/122
+++ b/tests/xfs/122
@@ -196,10 +196,6 @@ echo 'int main(int argc, char *argv[]) {' >>$cprog
#
cat /usr/include/xfs/xfs*.h | indent |\
_attribute_filter |\
-egrep '(} *xfs_.*_t|^struct xfs_[a-z0-9_]*$)' > /tmp/barf
-
-cat /usr/include/xfs/xfs*.h | indent |\
-_attribute_filter |\
egrep '(} *xfs_.*_t|^struct xfs_[a-z0-9_]*$)' |\
egrep -v -f $tmp.ignore |\
sed -e 's/^.*}[[:space:]]*//g' -e 's/;.*$//g' -e 's/_t, /_t\n/g' |\