Blame tests/run-readelf-test3.sh
|
Packit Service |
97d2fb |
#! /bin/sh
|
|
Packit Service |
97d2fb |
# Copyright (C) 2007 Red Hat, Inc.
|
|
Packit Service |
97d2fb |
# This file is part of elfutils.
|
|
Packit Service |
97d2fb |
#
|
|
Packit Service |
97d2fb |
# This file is free software; you can redistribute it and/or modify
|
|
Packit Service |
97d2fb |
# it under the terms of the GNU General Public License as published by
|
|
Packit Service |
97d2fb |
# the Free Software Foundation; either version 3 of the License, or
|
|
Packit Service |
97d2fb |
# (at your option) any later version.
|
|
Packit Service |
97d2fb |
#
|
|
Packit Service |
97d2fb |
# elfutils is distributed in the hope that it will be useful, but
|
|
Packit Service |
97d2fb |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
97d2fb |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
97d2fb |
# GNU General Public License for more details.
|
|
Packit Service |
97d2fb |
#
|
|
Packit Service |
97d2fb |
# You should have received a copy of the GNU General Public License
|
|
Packit Service |
97d2fb |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
. $srcdir/test-subr.sh
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
testfiles testfile40.debug
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
testrun_compare ${abs_top_builddir}/src/readelf -n testfile40.debug <<\EOF
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
Note section [ 6] '.note' of 60 bytes at offset 0x120:
|
|
Packit Service |
97d2fb |
Owner Data size Type
|
|
Packit Service |
97d2fb |
GNU 20 GNU_BUILD_ID
|
|
Packit Service |
97d2fb |
Build ID: 34072edcd87ef6728f4b4a7956167b2fcfc3f1d3
|
|
Packit Service |
97d2fb |
Linux 4 <unknown>: 0
|
|
Packit Service |
97d2fb |
EOF
|
|
Packit Service |
97d2fb |
|
|
Packit Service |
97d2fb |
exit 0
|