From f1bde8d6251082c38b510123eb4137a602ace3da Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 25 Mar 2015 08:16:56 -0700 Subject: [PATCH] tests: Add run-strip-test9.sh Signed-off-by: H.J. Lu --- tests/ChangeLog | 7 +++++++ tests/Makefile.am | 5 ++++- tests/run-strip-test9.sh | 21 +++++++++++++++++++++ tests/testfile-x32-s.bz2 | Bin 0 -> 1687 bytes 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100755 tests/run-strip-test9.sh create mode 100755 tests/testfile-x32-s.bz2 diff --git a/tests/ChangeLog b/tests/ChangeLog index 712dea2..6871f5f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,12 @@ 2015-04-01 H.J. Lu + * Makefile.am (TESTS): Add run-strip-test9.sh. + (EXTRA_DIST): Likewise. Add testfile-x32-s.bz2. + * run-strip-test9.sh: New file. + * testfile-x32-s.bz2: Likewise. + +2015-04-01 H.J. Lu + * Makefile.am (TESTS): Add run-backtrace-core-x32.sh. (EXTRA_DIST): Likewise. Add backtrace.x32.core.bz2. Add backtrace.x32.exec.bz2. diff --git a/tests/Makefile.am b/tests/Makefile.am index 20772d7..9f44c4e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -76,6 +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-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 \ @@ -155,6 +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-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\ @@ -290,7 +292,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \ testfile-debug-types.bz2 \ run-getsrc-die.sh run-strptr.sh \ testfile-x32-core.bz2 testfile-x32.bz2 \ - backtrace.x32.core.bz2 backtrace.x32.exec.bz2 + backtrace.x32.core.bz2 backtrace.x32.exec.bz2 \ + testfile-x32-s.bz2 if USE_VALGRIND valgrind_cmd='valgrind -q --error-exitcode=1 --run-libc-freeres=no' diff --git a/tests/run-strip-test9.sh b/tests/run-strip-test9.sh new file mode 100755 index 0000000..0c6fae2 --- /dev/null +++ b/tests/run-strip-test9.sh @@ -0,0 +1,21 @@ +#! /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-s +. $srcdir/run-strip-test.sh diff --git a/tests/testfile-x32-s.bz2 b/tests/testfile-x32-s.bz2 new file mode 100755 index 0000000000000000000000000000000000000000..a909d33db28b23fc5506d04067dc23dc95939dac GIT binary patch literal 1687 zcmV;I259+0T4*^jL0KkKSu-XbmjDF8fB*mg_x}EW|NsB@f6xE--~8_{{Y?EuNOkQ5 zVl7sGUq{ddQBMF>8m(;5U=2)(GEBspm`pW1iKEgo2AVY5LuE1tlxP_qiKajr4FELJ zkkA33G7z74QGyniJ!8FqZ22B|T zj35BWVGS}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