3 # Copyright (C) 2001-2002 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/>.
20 common_objpfx=$1; shift
28 rtld_installed_name=$1; shift
30 ${elf_objpfx}${rtld_installed_name} --library-path ${common_objpfx} "$@"
34 logfile=$common_objpfx/posix/tst-getconf.out
36 # Since we use `sort' we must make sure to use the same locale everywhere.
45 echo -n "getconf $name: " >> $logfile
46 runit ${common_objpfx}posix/getconf "$name" 2>> $logfile >> $logfile
47 if test $? -ne 0; then
48 echo "*** $name FAILED" >> $logfile
75 _POSIX_ASYNCHRONOUS_IO
78 _POSIX_C_LANG_SUPPORT_R
79 _POSIX_CLOCK_SELECTION
82 _POSIX_DEVICE_SPECIFIC
83 _POSIX_DEVICE_SPECIFIC_R
86 _POSIX_FILE_ATTRIBUTES
94 _POSIX_MEMORY_PROTECTION
95 _POSIX_MESSAGE_PASSING
96 _POSIX_MONOTONIC_CLOCK
100 _POSIX_PRIORITIZED_IO
101 _POSIX_PRIORITY_SCHEDULING
102 _POSIX_READER_WRITER_LOCKS
103 _POSIX_REALTIME_SIGNALS
107 _POSIX_SHARED_MEMORY_OBJECTS
110 _POSIX_SINGLE_PROCESS
113 _POSIX_SPORADIC_SERVER
114 _POSIX_SYNCHRONIZED_IO
115 _POSIX_SYSTEM_DATABASE
116 _POSIX_SYSTEM_DATABASE_R
117 _POSIX_THREAD_ATTR_STACKADDR
118 _POSIX_THREAD_ATTR_STACKSIZE
119 _POSIX_THREAD_CPUTIME
120 _POSIX_THREAD_PRIO_INHERIT
121 _POSIX_THREAD_PRIO_PROTECT
122 _POSIX_THREAD_PRIORITY_SCHEDULING
123 _POSIX_THREAD_PROCESS_SHARED
124 _POSIX_THREAD_SAFE_FUNCTIONS
125 _POSIX_THREAD_SPORADIC_SERVER
130 _POSIX_TRACE_EVENT_FILTER
133 _POSIX_TYPED_MEMORY_OBJECTS
137 _POSIX_V6_ILP32_OFF32
138 _POSIX_V6_ILP32_OFFBIG
140 _POSIX_V6_LPBIG_OFFBIG
141 _POSIX_V6_WIDTH_RESTRICTED_ENVS
150 POSIX2_PBS_ACCOUNTING
160 PTHREAD_DESTRUCTOR_ITERATIONS
182 _XOPEN_REALTIME_THREADS
188 POSIX_V6_ILP32_OFF32_CFLAGS
189 POSIX_V6_ILP32_OFF32_LDFLAGS
190 POSIX_V6_ILP32_OFF32_LIBS
191 POSIX_V6_ILP32_OFF32_LINTFLAGS
192 POSIX_V6_ILP32_OFFBIG_CFLAGS
193 POSIX_V6_ILP32_OFFBIG_LDFLAGS
194 POSIX_V6_ILP32_OFFBIG_LIBS
195 POSIX_V6_ILP32_OFFBIG_LINTFLAGS
196 POSIX_V6_LP64_OFF64_CFLAGS
197 POSIX_V6_LP64_OFF64_LDFLAGS
198 POSIX_V6_LP64_OFF64_LIBS
199 POSIX_V6_LP64_OFF64_LINTFLAGS
200 POSIX_V6_LPBIG_OFFBIG_CFLAGS
201 POSIX_V6_LPBIG_OFFBIG_LDFLAGS
202 POSIX_V6_LPBIG_OFFBIG_LIBS
203 POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
204 XBS5_ILP32_OFF32_CFLAGS
205 XBS5_ILP32_OFF32_LDFLAGS
206 XBS5_ILP32_OFF32_LIBS
207 XBS5_ILP32_OFF32_LINTFLAGS
208 XBS5_ILP32_OFFBIG_CFLAGS
209 XBS5_ILP32_OFFBIG_LDFLAGS
210 XBS5_ILP32_OFFBIG_LIBS
211 XBS5_ILP32_OFFBIG_LINTFLAGS
212 XBS5_LP64_OFF64_CFLAGS
213 XBS5_LP64_OFF64_LDFLAGS
215 XBS5_LP64_OFF64_LINTFLAGS
216 XBS5_LPBIG_OFFBIG_CFLAGS
217 XBS5_LPBIG_OFFBIG_LDFLAGS
218 XBS5_LPBIG_OFFBIG_LIBS
219 XBS5_LPBIG_OFFBIG_LINTFLAGS
223 echo -n "getconf $name /: " >> $logfile
224 runit ${common_objpfx}posix/getconf "$name" / 2>> $logfile >> $logfile
225 if test $? -ne 0; then
226 echo "*** $name FAILED" >> $logfile
238 POSIX_REC_INCR_XFER_SIZE
239 POSIX_REC_MAX_XFER_SIZE
240 POSIX_REC_MIN_XFER_SIZE
243 _POSIX_CHOWN_RESTRICTED
253 # Preserve executable bits for this shell script.
255 eval:(defun frobme () (set-file-modes buffer-file-name file-mode))
256 eval:(make-local-variable 'file-mode)
257 eval:(setq file-mode (file-modes (buffer-file-name)))
258 eval:(make-local-variable 'after-save-hook)
259 eval:(add-hook 'after-save-hook 'frobme)