Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 1 | #! /bin/sh |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 2 | # Copyright (C) 1999, 2000, 2002, 2004, 2005, 2007 Red Hat, Inc. |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 3 | # This file is part of elfutils. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 4 | # Written by Ulrich Drepper <drepper@redhat.com>, 1999. |
Roland McGrath | 6d0c2e8 | 2006-04-05 00:59:43 +0000 | [diff] [blame] | 5 | # |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 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. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 10 | # |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 11 | # elfutils is distributed in the hope that it will be useful, but |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 12 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | # GNU General Public License for more details. |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 15 | # |
Mark Wielaard | de2ed97 | 2012-06-05 17:15:16 +0200 | [diff] [blame] | 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/>. |
Ulrich Drepper | 361df7d | 2006-04-04 21:38:57 +0000 | [diff] [blame] | 18 | |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 19 | . $srcdir/test-subr.sh |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 20 | |
Roland McGrath | 1b8b446 | 2005-11-16 01:33:38 +0000 | [diff] [blame] | 21 | testfiles testfile testfile2 |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 22 | |
Mark Wielaard | 86be792 | 2013-04-26 23:44:25 +0200 | [diff] [blame] | 23 | testrun_compare ${abs_builddir}/get-files testfile testfile2 <<\EOF |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 24 | cuhl = 11, o = 0, asz = 4, osz = 4, ncu = 191 |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 25 | dirs[0] = "/home/drepper/gnu/new-bu/build/ttt" |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 26 | file[0] = "???" |
| 27 | file[1] = "/home/drepper/gnu/new-bu/build/ttt/m.c" |
| 28 | cuhl = 11, o = 114, asz = 4, osz = 4, ncu = 5617 |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 29 | dirs[0] = "/home/drepper/gnu/new-bu/build/ttt" |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 30 | file[0] = "???" |
| 31 | file[1] = "/home/drepper/gnu/new-bu/build/ttt/b.c" |
| 32 | file[2] = "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h" |
| 33 | file[3] = "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h" |
| 34 | file[4] = "/usr/include/bits/types.h" |
| 35 | file[5] = "/usr/include/bits/sched.h" |
| 36 | file[6] = "/usr/include/bits/pthreadtypes.h" |
| 37 | file[7] = "/usr/include/stdio.h" |
| 38 | file[8] = "/usr/include/libio.h" |
| 39 | file[9] = "/usr/include/wchar.h" |
| 40 | file[10] = "/usr/include/_G_config.h" |
| 41 | file[11] = "/usr/include/gconv.h" |
| 42 | cuhl = 11, o = 412, asz = 4, osz = 4, ncu = 5752 |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 43 | dirs[0] = "/home/drepper/gnu/new-bu/build/ttt" |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 44 | file[0] = "???" |
| 45 | file[1] = "/home/drepper/gnu/new-bu/build/ttt/f.c" |
| 46 | cuhl = 11, o = 0, asz = 4, osz = 4, ncu = 2418 |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 47 | dirs[0] = "/shoggoth/drepper" |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 48 | file[0] = "???" |
| 49 | file[1] = "/shoggoth/drepper/b.c" |
| 50 | file[2] = "/home/geoffk/objs/laurel-000912-branch/lib/gcc-lib/powerpc-unknown-linux-gnu/2.96-laurel-000912/include/stddef.h" |
| 51 | file[3] = "/home/geoffk/objs/laurel-000912-branch/lib/gcc-lib/powerpc-unknown-linux-gnu/2.96-laurel-000912/include/stdarg.h" |
| 52 | file[4] = "/shoggoth/drepper/<built-in>" |
| 53 | file[5] = "/usr/include/bits/types.h" |
| 54 | file[6] = "/usr/include/stdio.h" |
| 55 | file[7] = "/usr/include/libio.h" |
| 56 | file[8] = "/usr/include/_G_config.h" |
| 57 | cuhl = 11, o = 213, asz = 4, osz = 4, ncu = 2521 |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 58 | dirs[0] = "/shoggoth/drepper" |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 59 | file[0] = "???" |
| 60 | file[1] = "/shoggoth/drepper/f.c" |
| 61 | cuhl = 11, o = 267, asz = 4, osz = 4, ncu = 2680 |
Roland McGrath | 43da989 | 2007-04-16 23:13:37 +0000 | [diff] [blame] | 62 | dirs[0] = "/shoggoth/drepper" |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 63 | file[0] = "???" |
| 64 | file[1] = "/shoggoth/drepper/m.c" |
| 65 | EOF |
| 66 | |
Ulrich Drepper | b08d5a8 | 2005-07-26 05:00:05 +0000 | [diff] [blame] | 67 | exit 0 |