From: H.J. Lu Date: Wed, 25 Mar 2015 16:19:08 +0000 (-0700) Subject: tests: Add run-strip-test10.sh X-Git-Tag: elfutils-0.162~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=224e2e61b25eed8d320a286bbbd12f9ea4a7799e;p=thirdparty%2Felfutils.git tests: Add run-strip-test10.sh Signed-off-by: H.J. Lu --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 6871f5f9f..b6861849d 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,12 @@ +2015-04-01 H.J. Lu + + * Makefile.am (TESTS): Add run-strip-test10.sh. + (EXTRA_DIST): Likewise. Add testfile-x32-d.bz2. + Add testfile-x32-debug.bz2. + * run-strip-test10.sh: New file. + * testfile-x32-d.bz2: Likewise. + * testfile-x32-debug.bz2: Likewise. + 2015-04-01 H.J. Lu * Makefile.am (TESTS): Add run-strip-test9.sh. diff --git a/tests/Makefile.am b/tests/Makefile.am index 9f44c4e5e..45bb74dff 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -76,7 +76,7 @@ TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \ newscn run-strip-test.sh run-strip-test2.sh \ run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \ run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \ - run-strip-test9.sh \ + run-strip-test9.sh run-strip-test10.sh \ run-strip-groups.sh run-strip-reloc.sh \ run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-M.sh \ run-ecp-test.sh run-ecp-test2.sh run-alldts.sh \ @@ -156,7 +156,7 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ run-line2addr.sh run-elflint-test.sh testfile14.bz2 \ run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \ run-strip-test7.sh run-strip-test8.sh run-strip-groups.sh \ - run-strip-test9.sh \ + run-strip-test9.sh run-strip-test10.sh \ run-strip-reloc.sh hello_i386.ko.bz2 hello_x86_64.ko.bz2 \ hello_ppc64.ko.bz2 hello_s390.ko.bz2 hello_aarch64.ko.bz2 \ run-unstrip-test.sh run-unstrip-test2.sh run-unstrip-M.sh\ @@ -293,7 +293,7 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ run-getsrc-die.sh run-strptr.sh \ testfile-x32-core.bz2 testfile-x32.bz2 \ backtrace.x32.core.bz2 backtrace.x32.exec.bz2 \ - testfile-x32-s.bz2 + testfile-x32-s.bz2 testfile-x32-d.bz2 testfile-x32-debug.bz2 if USE_VALGRIND valgrind_cmd='valgrind -q --error-exitcode=1 --run-libc-freeres=no' diff --git a/tests/run-strip-test10.sh b/tests/run-strip-test10.sh new file mode 100755 index 000000000..a867b1b90 --- /dev/null +++ b/tests/run-strip-test10.sh @@ -0,0 +1,22 @@ +#! /bin/sh +# Copyright (C) H.J. Lu , 2015. +# This file is part of elfutils. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# elfutils is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +original=testfile-x32 +stripped=testfile-x32-d +debugfile=testfile-x32-debug + +. $srcdir/run-strip-test.sh diff --git a/tests/testfile-x32-d.bz2 b/tests/testfile-x32-d.bz2 new file mode 100755 index 000000000..ad5836e83 Binary files /dev/null and b/tests/testfile-x32-d.bz2 differ diff --git a/tests/testfile-x32-debug.bz2 b/tests/testfile-x32-debug.bz2 new file mode 100755 index 000000000..d55a004bb Binary files /dev/null and b/tests/testfile-x32-debug.bz2 differ