summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-02-21 06:19:39 +0000
committerRoland McGrath <roland@redhat.com>2008-02-21 06:19:39 +0000
commit059c83e5db89955913a39fe6705acca571c32c3f (patch)
tree9eaf08fd255365d45be91bb3bf288194ffa423e5 /tests
parent712d78eced9020ccfa1c27d32c2929cf16398293 (diff)
downloadelfutils-059c83e5db89955913a39fe6705acca571c32c3f.tar.gz
Finish elflint .gnu.attributes checking
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog6
-rw-r--r--tests/Makefile.am3
-rwxr-xr-xtests/run-elflint-test.sh5
-rw-r--r--tests/testfile46.bz2bin0 -> 322 bytes
4 files changed, 12 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 97865b5d..f4bedcb4 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-20 Roland McGrath <roland@redhat.com>
+
+ * testfile46.bz2: New data file.
+ * Makefile.am (EXTRA_DIST): Add it.
+ * run-elflint-test.sh: Test on it.
+
2008-02-01 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Hook up sha1-tst.c.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5d5c9185..a058e589 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -136,7 +136,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
testfile38.bz2 testfile39.bz2 testfile40.bz2 testfile40.debug.bz2 \
testfile41.bz2 testfile42.bz2 testfile43.bz2 \
testfile44.S.bz2 testfile44.expect.bz2 run-disasm-x86.sh \
- testfile45.S.bz2 testfile45.expect.bz2 run-disasm-x86-64.sh
+ testfile45.S.bz2 testfile45.expect.bz2 run-disasm-x86-64.sh \
+ testfile46.bz2
installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir) \
bindir=$(DESTDIR)$(bindir) \
diff --git a/tests/run-elflint-test.sh b/tests/run-elflint-test.sh
index a0b93a25..9f45d51e 100755
--- a/tests/run-elflint-test.sh
+++ b/tests/run-elflint-test.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2005, 2007 Red Hat, Inc.
+# Copyright (C) 2005, 2007, 2008 Red Hat, Inc.
# This file is part of Red Hat elfutils.
# Written by Ulrich Drepper <drepper@redhat.com>, 2005.
#
@@ -41,4 +41,7 @@ testrun ../src/elflint -q testfile33
testfiles testfile42
testrun ../src/elflint -q --gnu-ld testfile42
+testfiles testfile47
+testrun ../src/elflint -q testfile47
+
exit 0
diff --git a/tests/testfile46.bz2 b/tests/testfile46.bz2
new file mode 100644
index 00000000..db83b278
--- /dev/null
+++ b/tests/testfile46.bz2
Binary files differ