This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Add run-strip-test9.sh


-- 
H.J.
From 01e717520c42d524899c3bd2c0e5eb5f3dd42fad Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Wed, 25 Mar 2015 08:16:56 -0700
Subject: [PATCH 6/7] Add run-strip-test9.sh

	* Makefile.am (TESTS): Add run-strip-test9.sh.
	(EXTRA_DIST): Likewise.
	* run-strip-test9.sh: New file.
	* testfile-x32-s.bz2: Likewise.
---
 tests/Makefile.am        |   2 ++
 tests/run-strip-test9.sh |  21 +++++++++++++++++++++
 tests/testfile-x32-s.bz2 | Bin 0 -> 1675 bytes
 3 files changed, 23 insertions(+)
 create mode 100755 tests/run-strip-test9.sh
 create mode 100755 tests/testfile-x32-s.bz2

diff --git a/tests/Makefile.am b/tests/Makefile.am
index ee11e9c..a73623d 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\
diff --git a/tests/run-strip-test9.sh b/tests/run-strip-test9.sh
new file mode 100755
index 0000000..6a5c92e
--- /dev/null
+++ b/tests/run-strip-test9.sh
@@ -0,0 +1,21 @@
+#! /bin/sh
+# Copyright (C) 2015 Red Hat, Inc.
+# 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 <http://www.gnu.org/licenses/>.
+
+
+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..476c83c8f38aeb60982ff2c3b468cd7ff8d40310
GIT binary patch
literal 1675
zcmV;626XvCT4*^jL0KkKS*)dA(*Oj;|NsC0_x{#@|NsB@f6xE--~R6}{Y=$GSY_=5
zW-V5KPe;%NQBMGEVwr7gX_5_0gh`qS>H=*{GKNhw(?dohCTcYFjE0R2n@P1AJwP-7
z88iR@Xb)3rGHA)5Vg^8ZgF*rVYHX7=Q}Ujvwn^$iv=h@tpaJO(0gWI%O+8G3w15VH
z(?A}O7=feI(Sl%sq3SkjAOL6$8fefOVhkV|84U)8m_dSKXfy!O01OjA!7>aZL6Fl-
zCQLvL2ml%bMw&DRn1cugMngfNrVwD5nhgLn00RWjFie98&}1~z36l^5K$P_&A_GB9
zG}9VsG}F}6AkYSY28}jQ&;S4$00Y!C+Dt$I02*jLOhC{87V>EN%P*~d%hr-q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