Imported Upstream version 0.153
[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 Red Hat elfutils.
4 #
5 # Red Hat elfutils is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; version 2 of the License.
8 #
9 # Red Hat elfutils is distributed in the hope that it will be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License along
15 # with Red Hat elfutils; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA.
17 #
18 # Red Hat elfutils is an included package of the Open Invention Network.
19 # An included package of the Open Invention Network is a package for which
20 # Open Invention Network licensees cross-license their patents.  No patent
21 # license is granted, either expressly or impliedly, by designation as an
22 # included package.  Should you wish to participate in the Open Invention
23 # Network licensing program, please visit www.openinventionnetwork.com
24 # <http://www.openinventionnetwork.com>.
25
26 . $srcdir/test-subr.sh
27
28 testfiles testfile11
29
30 testrun_compare ./dwarf-getstring testfile11 <<\EOF
31 _ZNSbIwSt11char_traitsIwESaIwEE13_S_copy_charsEPwS3_S3_
32 itimerspec
33 _G_int32_t
34 _IO_last_state
35 antiquities
36 _ZNSbIwSt11char_traitsIwESaIwEEpLEw
37 insert
38 _ZNSbIwSt11char_traitsIwESaIwEE12_M_leak_hardEv
39 __lockkind
40 _ZNKSbIwSt11char_traitsIwESaIwEE8capacityEv
41 _ZNSs7_M_leakEv
42 _M_ref_count
43 _ZNSt11char_traitsIwE6assignEPwjw
44 _ZNKSs13find_first_ofEPKcj
45 ._14
46 ._15
47 ._16
48 ._17
49 _ZNKSs16find_last_not_ofEPKcj
50 _G_iconv_t
51 _ZN10__gnu_test9gnu_obj_2IlEaSERKS1_
52 _ZN11random_dataaSERKS_
53 _ZNSt11char_traitsIcE7not_eofERKi
54 __class_type_info
55 tm_sec
56 _ZNKSbIwSt11char_traitsIwESaIwEE5c_strEv
57 __rlim64_t
58 seek
59 pthread_mutex_t
60 _ZNSs5eraseEN9__gnu_cxx17__normal_iteratorIPcSsEE
61 _ZNSsaSEc
62 __not_va_list__
63 _ZNKSs12find_last_ofEPKcj
64 _ZNSs7replaceEN9__gnu_cxx17__normal_iteratorIPcSsEES2_S2_S2_
65 __gconv_info
66 _ZNSt11__ios_flags12_S_showpointE
67 output_iterator_tag
68 gnu_obj_2<long int>
69 _ZNSs6insertEjRKSsjj
70 _ZN13__type_traitsIbEaSERKS0_
71 _ZNKSbIwSt11char_traitsIwESaIwEE4copyEPwjj
72 _ZNSs9_M_mutateEjjj
73 __ios_flags
74 short unsigned int
75 _ZNKSs4findEPKcj
76 compare
77 _ZNSbIwSt11char_traitsIwESaIwEE4_Rep7_M_grabERKS1_S5_
78 tm_yday
79 unsigned char
80 __stacksize
81 __gconv_init_fct
82 _IO_FILE
83 __counter
84 ._26
85 ._27
86 bidirectional_iterator_tag
87 ._29
88 it_value
89 const_iterator
90 _ZNSt11__ios_flags6_S_outE
91 _M_set_leaked
92 _Is_integer<unsigned int>
93 __value
94 timeval
95 _IO_jump_t
96 _ZN11sched_paramaSERKS_
97 __normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
98 _ZNSs4_Rep7_M_grabERKSaIcES2_
99 _wide_vtable
100 __codecvt_destr
101 _STL_mutex_lock
102 _ZNSt24__default_alloc_templateILb1ELi0EE17_S_freelist_indexEj
103 _ZNSbIwSt11char_traitsIwESaIwEE7replaceEjjjw
104 _ZN17__gconv_step_dataaSERKS_
105 __w_stopval
106 __int64_t
107 __type_traits<double>
108 ~_Lock
109 _ZNKSbIwSt11char_traitsIwESaIwEE5beginEv
110 ptrdiff_t
111 test
112 _Integral
113 cookie_seek_function_t
114 __vmi_class_type_info
115 _ZNSs7replaceEjjjc
116 __int32_t
117 register_t
118 ~_STL_auto_lock
119 _ZNKSbIwSt11char_traitsIwESaIwEE16find_last_not_ofEPKwjj
120 __arg
121 _ZNSs7replaceEjjPKcj
122 _ZNSbIwSt11char_traitsIwESaIwEE7replaceEjjRKS2_jj
123 _ZNKSbIwSt11char_traitsIwESaIwEE12find_last_ofEPKwjj
124 _ZN11_Is_integerImEaSERKS0_
125 __default_alloc_template
126 _S_hex
127 __statep
128 _ZNSt11char_traitsIwE2ltERKwS2_
129 _M_p
130 _ZNKSs4sizeEv
131 EOF
132
133 exit 0