Blame tests/run-elfclassify-self.sh

Packit Service 97d2fb
#!/bin/sh
Packit Service 97d2fb
# Copyright (C) 2019 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
testrun_on_self ${abs_top_builddir}/src/elfclassify --elf-file
Packit Service 97d2fb
testrun_on_self ${abs_top_builddir}/src/elfclassify --not-core
Packit Service 97d2fb
testrun_on_self ${abs_top_builddir}/src/elfclassify --unstripped
Packit Service 97d2fb
testrun_on_self ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module
Packit Service 97d2fb
Packit Service 97d2fb
testrun_on_self_lib ${abs_top_builddir}/src/elfclassify --shared
Packit Service 97d2fb
testrun_on_self_lib ${abs_top_builddir}/src/elfclassify --loadable
Packit Service 97d2fb
testrun_on_self_lib ${abs_top_builddir}/src/elfclassify --not-executable
Packit Service 97d2fb
testrun_on_self_lib ${abs_top_builddir}/src/elfclassify --not-program
Packit Service 97d2fb
Packit Service 97d2fb
testrun_on_self_exe ${abs_top_builddir}/src/elfclassify --executable
Packit Service 97d2fb
testrun_on_self_exe ${abs_top_builddir}/src/elfclassify --program
Packit Service 97d2fb
testrun_on_self_exe ${abs_top_builddir}/src/elfclassify --loadable
Packit Service 97d2fb
testrun_on_self_exe ${abs_top_builddir}/src/elfclassify --not-shared
Packit Service 97d2fb
Packit Service 97d2fb
testrun ${abs_top_builddir}/src/elfclassify --not-shared $self_test_files_obj
Packit Service 97d2fb
testrun ${abs_top_builddir}/src/elfclassify --not-executable $self_test_files_obj