3 # Copyright (C) 2001-2012 Free Software Foundation, Inc.
4 # This file is part of the GNU C Library.
6 # The GNU C Library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License, or (at your option) any later version.
11 # The GNU C Library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with the GNU C Library; if not, see
18 # <http://www.gnu.org/licenses/>.
22 common_objpfx
=$1; shift
30 rtld_installed_name
=$1; shift
32 ${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} "$@"
36 logfile
=$common_objpfx/posix
/tst-getconf.out
38 # Since we use `sort' we must make sure to use the same locale everywhere.
47 echo -n "getconf $name: " >> $logfile
48 runit
${common_objpfx}posix
/getconf
"$name" 2>> $logfile >> $logfile
49 if test $?
-ne 0; then
50 echo "*** $name FAILED" >> $logfile
77 _POSIX_ASYNCHRONOUS_IO
80 _POSIX_C_LANG_SUPPORT_R
81 _POSIX_CLOCK_SELECTION
84 _POSIX_DEVICE_SPECIFIC
85 _POSIX_DEVICE_SPECIFIC_R
88 _POSIX_FILE_ATTRIBUTES
96 _POSIX_MEMORY_PROTECTION
97 _POSIX_MESSAGE_PASSING
98 _POSIX_MONOTONIC_CLOCK
102 _POSIX_PRIORITIZED_IO
103 _POSIX_PRIORITY_SCHEDULING
104 _POSIX_READER_WRITER_LOCKS
105 _POSIX_REALTIME_SIGNALS
109 _POSIX_SHARED_MEMORY_OBJECTS
112 _POSIX_SINGLE_PROCESS
115 _POSIX_SPORADIC_SERVER
116 _POSIX_SYNCHRONIZED_IO
117 _POSIX_SYSTEM_DATABASE
118 _POSIX_SYSTEM_DATABASE_R
119 _POSIX_THREAD_ATTR_STACKADDR
120 _POSIX_THREAD_ATTR_STACKSIZE
121 _POSIX_THREAD_CPUTIME
122 _POSIX_THREAD_PRIO_INHERIT
123 _POSIX_THREAD_PRIO_PROTECT
124 _POSIX_THREAD_PRIORITY_SCHEDULING
125 _POSIX_THREAD_PROCESS_SHARED
126 _POSIX_THREAD_SAFE_FUNCTIONS
127 _POSIX_THREAD_SPORADIC_SERVER
132 _POSIX_TRACE_EVENT_FILTER
135 _POSIX_TYPED_MEMORY_OBJECTS
139 _POSIX_V6_ILP32_OFF32
140 _POSIX_V6_ILP32_OFFBIG
142 _POSIX_V6_LPBIG_OFFBIG
143 _POSIX_V6_WIDTH_RESTRICTED_ENVS
152 POSIX2_PBS_ACCOUNTING
162 PTHREAD_DESTRUCTOR_ITERATIONS
184 _XOPEN_REALTIME_THREADS
190 POSIX_V6_ILP32_OFF32_CFLAGS
191 POSIX_V6_ILP32_OFF32_LDFLAGS
192 POSIX_V6_ILP32_OFF32_LIBS
193 POSIX_V6_ILP32_OFF32_LINTFLAGS
194 POSIX_V6_ILP32_OFFBIG_CFLAGS
195 POSIX_V6_ILP32_OFFBIG_LDFLAGS
196 POSIX_V6_ILP32_OFFBIG_LIBS
197 POSIX_V6_ILP32_OFFBIG_LINTFLAGS
198 POSIX_V6_LP64_OFF64_CFLAGS
199 POSIX_V6_LP64_OFF64_LDFLAGS
200 POSIX_V6_LP64_OFF64_LIBS
201 POSIX_V6_LP64_OFF64_LINTFLAGS
202 POSIX_V6_LPBIG_OFFBIG_CFLAGS
203 POSIX_V6_LPBIG_OFFBIG_LDFLAGS
204 POSIX_V6_LPBIG_OFFBIG_LIBS
205 POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
206 XBS5_ILP32_OFF32_CFLAGS
207 XBS5_ILP32_OFF32_LDFLAGS
208 XBS5_ILP32_OFF32_LIBS
209 XBS5_ILP32_OFF32_LINTFLAGS
210 XBS5_ILP32_OFFBIG_CFLAGS
211 XBS5_ILP32_OFFBIG_LDFLAGS
212 XBS5_ILP32_OFFBIG_LIBS
213 XBS5_ILP32_OFFBIG_LINTFLAGS
214 XBS5_LP64_OFF64_CFLAGS
215 XBS5_LP64_OFF64_LDFLAGS
217 XBS5_LP64_OFF64_LINTFLAGS
218 XBS5_LPBIG_OFFBIG_CFLAGS
219 XBS5_LPBIG_OFFBIG_LDFLAGS
220 XBS5_LPBIG_OFFBIG_LIBS
221 XBS5_LPBIG_OFFBIG_LINTFLAGS
225 echo -n "getconf $name /: " >> $logfile
226 runit
${common_objpfx}posix
/getconf
"$name" / 2>> $logfile >> $logfile
227 if test $?
-ne 0; then
228 echo "*** $name FAILED" >> $logfile
240 POSIX_REC_INCR_XFER_SIZE
241 POSIX_REC_MAX_XFER_SIZE
242 POSIX_REC_MIN_XFER_SIZE
245 _POSIX_CHOWN_RESTRICTED
255 # Preserve executable bits for this shell script.
257 eval:(defun frobme
() (set-file-modes buffer-file-name file-mode
))
258 eval:(make-local-variable
'file-mode)
259 eval:(setq file-mode (file-modes (buffer-file-name)))
260 eval:(make-local-variable 'after-save-hook
)
261 eval:(add-hook
'after-save-hook 'frobme
)