1#!/usr/local/bin/bash
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
20testfiles testfile11
21
22testrun_compare ${abs_builddir}/dwarf-getstring testfile11 <<\EOF
23_ZNSbIwSt11char_traitsIwESaIwEE13_S_copy_charsEPwS3_S3_
24itimerspec
25_G_int32_t
26_IO_last_state
27antiquities
28_ZNSbIwSt11char_traitsIwESaIwEEpLEw
29insert
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
47tm_sec
48_ZNKSbIwSt11char_traitsIwESaIwEE5c_strEv
49__rlim64_t
50seek
51pthread_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
59output_iterator_tag
60gnu_obj_2<long int>
61_ZNSs6insertEjRKSsjj
62_ZN13__type_traitsIbEaSERKS0_
63_ZNKSbIwSt11char_traitsIwESaIwEE4copyEPwjj
64_ZNSs9_M_mutateEjjj
65__ios_flags
66short unsigned int
67_ZNKSs4findEPKcj
68compare
69_ZNSbIwSt11char_traitsIwESaIwEE4_Rep7_M_grabERKS1_S5_
70tm_yday
71unsigned char
72__stacksize
73__gconv_init_fct
74_IO_FILE
75__counter
76._26
77._27
78bidirectional_iterator_tag
79._29
80it_value
81const_iterator
82_ZNSt11__ios_flags6_S_outE
83_M_set_leaked
84_Is_integer<unsigned int>
85__value
86timeval
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
102ptrdiff_t
103test
104_Integral
105cookie_seek_function_t
106__vmi_class_type_info
107_ZNSs7replaceEjjjc
108__int32_t
109register_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
123EOF
124
125exit 0
126