3 # Copyright (C) 2001-2014 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
25 logfile
=$common_objpfx/posix
/tst-getconf.out
27 # Since we use `sort' we must make sure to use the same locale everywhere.
36 echo -n "getconf $name: " >> $logfile
37 ${run_getconf} "$name" < /dev
/null
2>> $logfile >> $logfile
38 if test $?
-ne 0; then
39 echo "*** $name FAILED" >> $logfile
66 _POSIX_ASYNCHRONOUS_IO
69 _POSIX_C_LANG_SUPPORT_R
70 _POSIX_CLOCK_SELECTION
73 _POSIX_DEVICE_SPECIFIC
74 _POSIX_DEVICE_SPECIFIC_R
77 _POSIX_FILE_ATTRIBUTES
85 _POSIX_MEMORY_PROTECTION
86 _POSIX_MESSAGE_PASSING
87 _POSIX_MONOTONIC_CLOCK
92 _POSIX_PRIORITY_SCHEDULING
93 _POSIX_READER_WRITER_LOCKS
94 _POSIX_REALTIME_SIGNALS
98 _POSIX_SHARED_MEMORY_OBJECTS
101 _POSIX_SINGLE_PROCESS
104 _POSIX_SPORADIC_SERVER
105 _POSIX_SYNCHRONIZED_IO
106 _POSIX_SYSTEM_DATABASE
107 _POSIX_SYSTEM_DATABASE_R
108 _POSIX_THREAD_ATTR_STACKADDR
109 _POSIX_THREAD_ATTR_STACKSIZE
110 _POSIX_THREAD_CPUTIME
111 _POSIX_THREAD_PRIO_INHERIT
112 _POSIX_THREAD_PRIO_PROTECT
113 _POSIX_THREAD_PRIORITY_SCHEDULING
114 _POSIX_THREAD_PROCESS_SHARED
115 _POSIX_THREAD_SAFE_FUNCTIONS
116 _POSIX_THREAD_SPORADIC_SERVER
121 _POSIX_TRACE_EVENT_FILTER
124 _POSIX_TYPED_MEMORY_OBJECTS
128 _POSIX_V6_ILP32_OFF32
129 _POSIX_V6_ILP32_OFFBIG
131 _POSIX_V6_LPBIG_OFFBIG
132 _POSIX_V6_WIDTH_RESTRICTED_ENVS
141 POSIX2_PBS_ACCOUNTING
151 PTHREAD_DESTRUCTOR_ITERATIONS
173 _XOPEN_REALTIME_THREADS
179 POSIX_V6_ILP32_OFF32_CFLAGS
180 POSIX_V6_ILP32_OFF32_LDFLAGS
181 POSIX_V6_ILP32_OFF32_LIBS
182 POSIX_V6_ILP32_OFF32_LINTFLAGS
183 POSIX_V6_ILP32_OFFBIG_CFLAGS
184 POSIX_V6_ILP32_OFFBIG_LDFLAGS
185 POSIX_V6_ILP32_OFFBIG_LIBS
186 POSIX_V6_ILP32_OFFBIG_LINTFLAGS
187 POSIX_V6_LP64_OFF64_CFLAGS
188 POSIX_V6_LP64_OFF64_LDFLAGS
189 POSIX_V6_LP64_OFF64_LIBS
190 POSIX_V6_LP64_OFF64_LINTFLAGS
191 POSIX_V6_LPBIG_OFFBIG_CFLAGS
192 POSIX_V6_LPBIG_OFFBIG_LDFLAGS
193 POSIX_V6_LPBIG_OFFBIG_LIBS
194 POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
195 XBS5_ILP32_OFF32_CFLAGS
196 XBS5_ILP32_OFF32_LDFLAGS
197 XBS5_ILP32_OFF32_LIBS
198 XBS5_ILP32_OFF32_LINTFLAGS
199 XBS5_ILP32_OFFBIG_CFLAGS
200 XBS5_ILP32_OFFBIG_LDFLAGS
201 XBS5_ILP32_OFFBIG_LIBS
202 XBS5_ILP32_OFFBIG_LINTFLAGS
203 XBS5_LP64_OFF64_CFLAGS
204 XBS5_LP64_OFF64_LDFLAGS
206 XBS5_LP64_OFF64_LINTFLAGS
207 XBS5_LPBIG_OFFBIG_CFLAGS
208 XBS5_LPBIG_OFFBIG_LDFLAGS
209 XBS5_LPBIG_OFFBIG_LIBS
210 XBS5_LPBIG_OFFBIG_LINTFLAGS
214 echo -n "getconf $name /: " >> $logfile
215 ${run_getconf} "$name" / < /dev
/null
2>> $logfile >> $logfile
216 if test $?
-ne 0; then
217 echo "*** $name FAILED" >> $logfile
229 POSIX_REC_INCR_XFER_SIZE
230 POSIX_REC_MAX_XFER_SIZE
231 POSIX_REC_MIN_XFER_SIZE
234 _POSIX_CHOWN_RESTRICTED
244 # Preserve executable bits for this shell script.
246 eval:(defun frobme
() (set-file-modes buffer-file-name file-mode
))
247 eval:(make-local-variable
'file-mode)
248 eval:(setq file-mode (file-modes (buffer-file-name)))
249 eval:(make-local-variable 'after-save-hook
)
250 eval:(add-hook
'after-save-hook 'frobme
)