[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.9-49-gd848434



The following commit has been merged in the master branch:
commit 02d9393a8debf8a97cdba57117346a76c07ddec1
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Mon Apr 13 23:55:19 2009 -0500

    Fix an error where directories containing the word ELF would fail
    
    The collection/strings script was not distinguishing between paths and
    file's output itself, which would result in strings(1) failing when a
    it was passed a directory as an argument.

diff --git a/collection/strings b/collection/strings
index b649035..b324f0c 100755
--- a/collection/strings
+++ b/collection/strings
@@ -27,7 +27,7 @@
 [ ! -f elf-index ] || rm -f elf-index
 exec >elf-index
 
-for bin in $(grep ELF file-info | cut -d: -f1); do
+for bin in $(grep ':.*ELF' file-info | cut -d: -f1); do
     echo "$bin"
     case $bin in
       /usr/lib/debug/*)
diff --git a/t/tests/strings-elf-detection/debian/debian/dirs b/t/tests/strings-elf-detection/debian/debian/dirs
new file mode 100644
index 0000000..d8a79f8
--- /dev/null
+++ b/t/tests/strings-elf-detection/debian/debian/dirs
@@ -0,0 +1 @@
+usr/share/foo/ELF
diff --git a/t/tests/strings-elf-detection/debian/debian/install b/t/tests/strings-elf-detection/debian/debian/install
new file mode 100644
index 0000000..15691a0
--- /dev/null
+++ b/t/tests/strings-elf-detection/debian/debian/install
@@ -0,0 +1 @@
+foo usr/share/foo/ELF/
diff --git a/reporting/lintian-dummy.cfg b/t/tests/strings-elf-detection/debian/foo
similarity index 100%
copy from reporting/lintian-dummy.cfg
copy to t/tests/strings-elf-detection/debian/foo
diff --git a/t/tests/strings-elf-detection/desc b/t/tests/strings-elf-detection/desc
new file mode 100644
index 0000000..96c1ef7
--- /dev/null
+++ b/t/tests/strings-elf-detection/desc
@@ -0,0 +1,4 @@
+Testname: strings-elf-detection
+Sequence: 4500
+Version: 1.0
+Description: Test the ability to detect ELF objects
diff --git a/t/debs/deb-format-record-size/tags b/t/tests/strings-elf-detection/tags
similarity index 100%
copy from t/debs/deb-format-record-size/tags
copy to t/tests/strings-elf-detection/tags

-- 
Debian package checker


Reply to: