Imported Upstream version 0.155
[platform/upstream/elfutils.git] / tests / run-dwarf-getstring.sh
1 #! /bin/sh
2 # Copyright (C) 2011 Red Hat, Inc.
3 # This file is part of elfutils.
4 #
5 # This file is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # elfutils is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 . $srcdir/test-subr.sh
19
20 testfiles testfile11
21
22 testrun_compare ./dwarf-getstring testfile11 <<\EOF
23 _ZNSbIwSt11char_traitsIwESaIwEE13_S_copy_charsEPwS3_S3_
24 itimerspec
25 _G_int32_t
26 _IO_last_state
27 antiquities
28 _ZNSbIwSt11char_traitsIwESaIwEEpLEw
29 insert
30 _ZNSbIwSt11char_traitsIwESaIwEE12_M_leak_hardEv
31 __lockkind
32 _ZNKSbIwSt11char_traitsIwESaIwEE8capacityEv
33 _ZNSs7_M_leakEv
34 _M_ref_count
35 _ZNSt11char_traitsIwE6assignEPwjw
36 _ZNKSs13find_first_ofEPKcj
37 ._14
38 ._15
39 ._16
40 ._17
41 _ZNKSs16find_last_not_ofEPKcj
42 _G_iconv_t
43 _ZN10__gnu_test9gnu_obj_2IlEaSERKS1_
44 _ZN11random_dataaSERKS_
45 _ZNSt11char_traitsIcE7not_eofERKi
46 __class_type_info
47 tm_sec
48 _ZNKSbIwSt11char_traitsIwESaIwEE5c_strEv
49 __rlim64_t
50 seek
51 pthread_mutex_t
52 _ZNSs5eraseEN9__gnu_cxx17__normal_iteratorIPcSsEE
53 _ZNSsaSEc
54 __not_va_list__
55 _ZNKSs12find_last_ofEPKcj
56 _ZNSs7replaceEN9__gnu_cxx17__normal_iteratorIPcSsEES2_S2_S2_
57 __gconv_info
58 _ZNSt11__ios_flags12_S_showpointE
59 output_iterator_tag
60 gnu_obj_2<long int>
61 _ZNSs6insertEjRKSsjj
62 _ZN13__type_traitsIbEaSERKS0_
63 _ZNKSbIwSt11char_traitsIwESaIwEE4copyEPwjj
64 _ZNSs9_M_mutateEjjj
65 __ios_flags
66 short unsigned int
67 _ZNKSs4findEPKcj
68 compare
69 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep7_M_grabERKS1_S5_
70 tm_yday
71 unsigned char
72 __stacksize
73 __gconv_init_fct
74 _IO_FILE
75 __counter
76 ._26
77 ._27
78 bidirectional_iterator_tag
79 ._29
80 it_value
81 const_iterator
82 _ZNSt11__ios_flags6_S_outE
83 _M_set_leaked
84 _Is_integer<unsigned int>
85 __value
86 timeval
87 _IO_jump_t
88 _ZN11sched_paramaSERKS_
89 __normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
90 _ZNSs4_Rep7_M_grabERKSaIcES2_
91 _wide_vtable
92 __codecvt_destr
93 _STL_mutex_lock
94 _ZNSt24__default_alloc_templateILb1ELi0EE17_S_freelist_indexEj
95 _ZNSbIwSt11char_traitsIwESaIwEE7replaceEjjjw
96 _ZN17__gconv_step_dataaSERKS_
97 __w_stopval
98 __int64_t
99 __type_traits<double>
100 ~_Lock
101 _ZNKSbIwSt11char_traitsIwESaIwEE5beginEv
102 ptrdiff_t
103 test
104 _Integral
105 cookie_seek_function_t
106 __vmi_class_type_info
107 _ZNSs7replaceEjjjc
108 __int32_t
109 register_t
110 ~_STL_auto_lock
111 _ZNKSbIwSt11char_traitsIwESaIwEE16find_last_not_ofEPKwjj
112 __arg
113 _ZNSs7replaceEjjPKcj
114 _ZNSbIwSt11char_traitsIwESaIwEE7replaceEjjRKS2_jj
115 _ZNKSbIwSt11char_traitsIwESaIwEE12find_last_ofEPKwjj
116 _ZN11_Is_integerImEaSERKS0_
117 __default_alloc_template
118 _S_hex
119 __statep
120 _ZNSt11char_traitsIwE2ltERKwS2_
121 _M_p
122 _ZNKSs4sizeEv
123 EOF
124
125 exit 0