Lines Matching +full:test +full:- +full:shared +full:- +full:rel
18 . $srcdir/test-subr.sh
22 testfile-backtrace-demangle.core \
25 testfile-m68k-core \
26 testfile-riscv64-core \
34 echo "elfclassify --core"
35 testrun ${abs_top_builddir}/src/elfclassify --core $core_files
36 testrun_compare ${abs_top_builddir}/src/elfclassify --core --print $core_files <<EOF
37 $(echo $core_files | sed -e "s/ /\n/g")
41 testrun ${abs_top_builddir}/src/elfclassify --not-program $core_files
42 testrun_compare ${abs_top_builddir}/src/elfclassify --not-program --print $core_files <<EOF
43 $(echo $core_files | sed -e "s/ /\n/g")
46 echo "core files are not shared"
47 testrun ${abs_top_builddir}/src/elfclassify --not-shared $core_files
48 testrun_compare ${abs_top_builddir}/src/elfclassify --not-shared --print $core_files <<EOF
49 $(echo $core_files | sed -e "s/ /\n/g")
52 echo "core files are not kernel-modules"
53 testrun ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module $core_files
54 testrun_compare ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module --print $core_files <…
55 $(echo $core_files | sed -e "s/ /\n/g")
58 echo "core files are not debug-only"
59 testrun ${abs_top_builddir}/src/elfclassify --not-debug-only $core_files
60 testrun_compare ${abs_top_builddir}/src/elfclassify --not-debug-only --print $core_files <<EOF
61 $(echo $core_files | sed -e "s/ /\n/g")
65 "debug-ranges-no-lowpc.o \
66 testfile-annobingroup-i386.o \
67 testfile-bpf-dis1.o \
68 testfile-debug-rel-g.o \
69 testfile-gnu-property-note.o"
73 echo "elfclassify --elf-file"
74 testrun ${abs_top_builddir}/src/elfclassify --elf-file $object_files
75 testrun_compare ${abs_top_builddir}/src/elfclassify --elf-file --print $object_files <<EOF
76 $(echo $object_files | sed -e "s/ /\n/g")
80 testrun ${abs_top_builddir}/src/elfclassify --not-elf-archive $object_files
81 testrun_compare ${abs_top_builddir}/src/elfclassify --not-elf-archive --print $object_files <<EOF
82 $(echo $object_files | sed -e "s/ /\n/g")
86 testrun ${abs_top_builddir}/src/elfclassify --not-core $object_files
87 testrun_compare ${abs_top_builddir}/src/elfclassify --not-core --print $object_files <<EOF
88 $(echo $object_files | sed -e "s/ /\n/g")
92 testrun ${abs_top_builddir}/src/elfclassify --not-program $object_files
93 testrun_compare ${abs_top_builddir}/src/elfclassify --not-program --print $object_files <<EOF
94 $(echo $object_files | sed -e "s/ /\n/g")
97 echo "object files are not shared files"
98 testrun ${abs_top_builddir}/src/elfclassify --not-shared $object_files
99 testrun_compare ${abs_top_builddir}/src/elfclassify --not-shared --print $object_files <<EOF
100 $(echo $object_files | sed -e "s/ /\n/g")
104 testrun ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module $object_files
105 testrun_compare ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module --print $object_files…
106 $(echo $object_files | sed -e "s/ /\n/g")
109 echo "object files are not debug-only files"
110 testrun ${abs_top_builddir}/src/elfclassify --not-debug-only $object_files
111 testrun_compare ${abs_top_builddir}/src/elfclassify --not-debug-only --print $object_files <<EOF
112 $(echo $object_files | sed -e "s/ /\n/g")
119 echo "elfclassify --elf-archive"
120 testrun ${abs_top_builddir}/src/elfclassify --elf-archive $ar_files
121 testrun_compare ${abs_top_builddir}/src/elfclassify --elf-archive --print $ar_files <<EOF
122 $(echo $ar_files | sed -e "s/ /\n/g")
125 echo "archives are not elf-files"
126 testrun ${abs_top_builddir}/src/elfclassify --not-elf-file $ar_files
127 testrun_compare ${abs_top_builddir}/src/elfclassify --not-elf-file --print $ar_files <<EOF
128 $(echo $ar_files | sed -e "s/ /\n/g")
132 testrun ${abs_top_builddir}/src/elfclassify --not-core $ar_files
133 testrun_compare ${abs_top_builddir}/src/elfclassify --not-core --print $ar_files <<EOF
134 $(echo $ar_files | sed -e "s/ /\n/g")
138 testrun ${abs_top_builddir}/src/elfclassify --not-program $ar_files
139 testrun_compare ${abs_top_builddir}/src/elfclassify --not-program --print $ar_files <<EOF
140 $(echo $ar_files | sed -e "s/ /\n/g")
143 echo "archives are not shared files"
144 testrun ${abs_top_builddir}/src/elfclassify --not-shared $ar_files
145 testrun_compare ${abs_top_builddir}/src/elfclassify --not-shared --print $ar_files <<EOF
146 $(echo $ar_files | sed -e "s/ /\n/g")
150 "testfile52-32.noshdrs.so \
152 testfile52-32.prelink.so \
153 testfile52-32.so
154 testfile54-64.noshdrs.so \
155 testfile54-64.prelink.so \
156 testfile54-64.so \
161 echo "elfclassify --shared"
162 testrun ${abs_top_builddir}/src/elfclassify --shared $lib_files
163 testrun_compare ${abs_top_builddir}/src/elfclassify --shared --print $lib_files <<EOF
164 $(echo $lib_files | sed -e "s/ /\n/g")
167 echo "shared files are loadable"
168 testrun ${abs_top_builddir}/src/elfclassify --loadable $lib_files
169 testrun_compare ${abs_top_builddir}/src/elfclassify --loadable --print $lib_files <<EOF
170 $(echo $lib_files | sed -e "s/ /\n/g")
173 echo "shared files are not executables"
174 testrun ${abs_top_builddir}/src/elfclassify --not-executable $lib_files
175 testrun_compare ${abs_top_builddir}/src/elfclassify --not-executable --print $lib_files <<EOF
176 $(echo $lib_files | sed -e "s/ /\n/g")
179 echo "shared files are not debug-only"
180 testrun ${abs_top_builddir}/src/elfclassify --not-debug-only $lib_files
181 testrun_compare ${abs_top_builddir}/src/elfclassify --not-debug-only --print $lib_files <<EOF
182 $(echo $lib_files | sed -e "s/ /\n/g")
185 echo "shared files are not kernel modules"
186 testrun ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module $lib_files
187 testrun_compare ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module --print $lib_files <<…
188 $(echo $lib_files | sed -e "s/ /\n/g")
197 test-offset-loop \
203 echo "elfclassify --program"
204 testrun ${abs_top_builddir}/src/elfclassify --program $exe_files
205 testrun_compare ${abs_top_builddir}/src/elfclassify --program --print $exe_files <<EOF
206 $(echo $exe_files | sed -e "s/ /\n/g")
210 testrun ${abs_top_builddir}/src/elfclassify --executable $exe_files
211 testrun_compare ${abs_top_builddir}/src/elfclassify --executable --print $exe_files <<EOF
212 $(echo $exe_files | sed -e "s/ /\n/g")
215 echo "programs are not shared libraries (in this case)"
216 testrun ${abs_top_builddir}/src/elfclassify --not-shared $exe_files
217 testrun_compare ${abs_top_builddir}/src/elfclassify --not-shared --print $exe_files <<EOF
218 $(echo $exe_files | sed -e "s/ /\n/g")
221 echo "programs are not kernel-modules"
222 testrun ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module $exe_files
223 testrun_compare ${abs_top_builddir}/src/elfclassify --not-linux-kernel-module --print $exe_files <<…
224 $(echo $exe_files | sed -e "s/ /\n/g")
227 echo "programs are not debug-only"
228 testrun ${abs_top_builddir}/src/elfclassify --not-debug-only $exe_files
229 testrun_compare ${abs_top_builddir}/src/elfclassify --not-debug-only --print $exe_files <<EOF
230 $(echo $exe_files | sed -e "s/ /\n/g")
245 echo "elfclassify --linux-kernel-module"
246 testrun ${abs_top_builddir}/src/elfclassify --linux-kernel-module $kmod_files
247 testrun_compare ${abs_top_builddir}/src/elfclassify --linux-kernel-module --print $kmod_files <<EOF
248 $(echo $kmod_files | sed -e "s/ /\n/g")
252 testrun ${abs_top_builddir}/src/elfclassify --unstripped $kmod_files
253 testrun_compare ${abs_top_builddir}/src/elfclassify --unstripped --print $kmod_files <<EOF
254 $(echo $kmod_files | sed -e "s/ /\n/g")
257 echo "kmods are not debug-only"
258 testrun ${abs_top_builddir}/src/elfclassify --not-debug-only $kmod_files
259 testrun_compare ${abs_top_builddir}/src/elfclassify --not-debug-only --print $kmod_files <<EOF
260 $(echo $kmod_files | sed -e "s/ /\n/g")
264 testrun ${abs_top_builddir}/src/elfclassify --not-loadable $kmod_files
265 testrun_compare ${abs_top_builddir}/src/elfclassify --not-loadable --print $kmod_files <<EOF
266 $(echo $kmod_files | sed -e "s/ /\n/g")
270 testrun ${abs_top_builddir}/src/elfcompress -t gnu --force $kmod_files
271 testrun ${abs_top_builddir}/src/elfclassify --unstripped $kmod_files
272 testrun_compare ${abs_top_builddir}/src/elfclassify --unstripped --print $kmod_files <<EOF
273 $(echo $kmod_files | sed -e "s/ /\n/g")
281 testfile53-32.debug \
282 testfile53-64.debug \
285 addrx_constx-4.dwo \
286 addrx_constx-5.dwo"
290 echo "elfclassify --debug-only"
291 testrun ${abs_top_builddir}/src/elfclassify --debug-only $debug_files
292 testrun_compare ${abs_top_builddir}/src/elfclassify --debug-only --print $debug_files <<EOF
293 $(echo $debug_files | sed -e "s/ /\n/g")
296 echo "debug-only files are unstripped"
297 testrun ${abs_top_builddir}/src/elfclassify --unstripped $debug_files
298 testrun_compare ${abs_top_builddir}/src/elfclassify --unstripped --print $debug_files <<EOF
299 $(echo $debug_files | sed -e "s/ /\n/g")
302 echo "debug-only files are not programs"
303 testrun ${abs_top_builddir}/src/elfclassify --not-program $debug_files
304 testrun_compare ${abs_top_builddir}/src/elfclassify --not-program --print $debug_files <<EOF
305 $(echo $debug_files | sed -e "s/ /\n/g")
308 echo "debug-only files are not shared"
309 testrun ${abs_top_builddir}/src/elfclassify --not-shared $debug_files
310 testrun_compare ${abs_top_builddir}/src/elfclassify --not-shared --print $debug_files <<EOF
311 $(echo $debug_files | sed -e "s/ /\n/g")
315 testrun ${abs_top_builddir}/src/elfcompress -t gnu --force $debug_files
318 testrun ${abs_top_builddir}/src/elfclassify --unstripped $debug_files
319 testrun_compare ${abs_top_builddir}/src/elfclassify --unstripped --print $debug_files <<EOF
320 $(echo $debug_files | sed -e "s/ /\n/g")
323 echo "again debug-only"
324 testrun ${abs_top_builddir}/src/elfclassify --debug-only $debug_files
325 testrun_compare ${abs_top_builddir}/src/elfclassify --debug-only --print $debug_files <<EOF
326 $(echo $debug_files | sed -e "s/ /\n/g")