Imported Upstream version 0.155
[platform/upstream/elfutils.git] / tests / run-allfcts.sh
1 #! /bin/sh
2 # Copyright (C) 2005 Red Hat, Inc.
3 # This file is part of elfutils.
4 # Written by Ulrich Drepper <drepper@redhat.com>, 2005.
5 #
6 # This file is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # elfutils is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
19 . $srcdir/test-subr.sh
20
21 testfiles testfile testfile2 testfile8
22
23 testrun_compare ./allfcts testfile testfile2 testfile8 <<\EOF
24 /home/drepper/gnu/new-bu/build/ttt/m.c:5:main
25 /home/drepper/gnu/new-bu/build/ttt/b.c:4:bar
26 /home/drepper/gnu/new-bu/build/ttt/f.c:3:foo
27 /shoggoth/drepper/b.c:4:bar
28 /shoggoth/drepper/f.c:3:foo
29 /shoggoth/drepper/m.c:5:main
30 /home/drepper/gnu/elfutils/build/src/../../src/strip.c:107:main
31 /home/drepper/gnu/elfutils/build/src/../../src/strip.c:159:print_version
32 /home/drepper/gnu/elfutils/build/src/../../src/strip.c:173:parse_opt
33 /home/drepper/gnu/elfutils/build/src/../../src/strip.c:201:more_help
34 /home/drepper/gnu/elfutils/build/src/../../src/strip.c:217:process_file
35 /usr/include/sys/stat.h:375:stat64
36 /home/drepper/gnu/elfutils/build/src/../../src/strip.c:291:crc32_file
37 /home/drepper/gnu/elfutils/build/src/../../src/strip.c:313:handle_elf
38 EOF
39
40 exit 0