3 # Copyright (C) 2001-2017 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
30 printf %s
"getconf $name: " >> $logfile
31 ${run_getconf} "$name" < /dev
/null
2>> $logfile >> $logfile
32 if test $?
-ne 0; then
33 echo "*** $name FAILED" >> $logfile
60 _POSIX_ASYNCHRONOUS_IO
63 _POSIX_C_LANG_SUPPORT_R
64 _POSIX_CLOCK_SELECTION
67 _POSIX_DEVICE_SPECIFIC
68 _POSIX_DEVICE_SPECIFIC_R
71 _POSIX_FILE_ATTRIBUTES
79 _POSIX_MEMORY_PROTECTION
80 _POSIX_MESSAGE_PASSING
81 _POSIX_MONOTONIC_CLOCK
86 _POSIX_PRIORITY_SCHEDULING
87 _POSIX_READER_WRITER_LOCKS
88 _POSIX_REALTIME_SIGNALS
92 _POSIX_SHARED_MEMORY_OBJECTS
98 _POSIX_SPORADIC_SERVER
99 _POSIX_SYNCHRONIZED_IO
100 _POSIX_SYSTEM_DATABASE
101 _POSIX_SYSTEM_DATABASE_R
102 _POSIX_THREAD_ATTR_STACKADDR
103 _POSIX_THREAD_ATTR_STACKSIZE
104 _POSIX_THREAD_CPUTIME
105 _POSIX_THREAD_PRIO_INHERIT
106 _POSIX_THREAD_PRIO_PROTECT
107 _POSIX_THREAD_PRIORITY_SCHEDULING
108 _POSIX_THREAD_PROCESS_SHARED
109 _POSIX_THREAD_SAFE_FUNCTIONS
110 _POSIX_THREAD_SPORADIC_SERVER
115 _POSIX_TRACE_EVENT_FILTER
118 _POSIX_TYPED_MEMORY_OBJECTS
122 _POSIX_V6_ILP32_OFF32
123 _POSIX_V6_ILP32_OFFBIG
125 _POSIX_V6_LPBIG_OFFBIG
126 _POSIX_V6_WIDTH_RESTRICTED_ENVS
135 POSIX2_PBS_ACCOUNTING
145 PTHREAD_DESTRUCTOR_ITERATIONS
167 _XOPEN_REALTIME_THREADS
173 POSIX_V6_ILP32_OFF32_CFLAGS
174 POSIX_V6_ILP32_OFF32_LDFLAGS
175 POSIX_V6_ILP32_OFF32_LIBS
176 POSIX_V6_ILP32_OFF32_LINTFLAGS
177 POSIX_V6_ILP32_OFFBIG_CFLAGS
178 POSIX_V6_ILP32_OFFBIG_LDFLAGS
179 POSIX_V6_ILP32_OFFBIG_LIBS
180 POSIX_V6_ILP32_OFFBIG_LINTFLAGS
181 POSIX_V6_LP64_OFF64_CFLAGS
182 POSIX_V6_LP64_OFF64_LDFLAGS
183 POSIX_V6_LP64_OFF64_LIBS
184 POSIX_V6_LP64_OFF64_LINTFLAGS
185 POSIX_V6_LPBIG_OFFBIG_CFLAGS
186 POSIX_V6_LPBIG_OFFBIG_LDFLAGS
187 POSIX_V6_LPBIG_OFFBIG_LIBS
188 POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
189 XBS5_ILP32_OFF32_CFLAGS
190 XBS5_ILP32_OFF32_LDFLAGS
191 XBS5_ILP32_OFF32_LIBS
192 XBS5_ILP32_OFF32_LINTFLAGS
193 XBS5_ILP32_OFFBIG_CFLAGS
194 XBS5_ILP32_OFFBIG_LDFLAGS
195 XBS5_ILP32_OFFBIG_LIBS
196 XBS5_ILP32_OFFBIG_LINTFLAGS
197 XBS5_LP64_OFF64_CFLAGS
198 XBS5_LP64_OFF64_LDFLAGS
200 XBS5_LP64_OFF64_LINTFLAGS
201 XBS5_LPBIG_OFFBIG_CFLAGS
202 XBS5_LPBIG_OFFBIG_LDFLAGS
203 XBS5_LPBIG_OFFBIG_LIBS
204 XBS5_LPBIG_OFFBIG_LINTFLAGS
208 printf %s
"getconf $name /: " >> $logfile
209 ${run_getconf} "$name" / < /dev
/null
2>> $logfile >> $logfile
210 if test $?
-ne 0; then
211 echo "*** $name FAILED" >> $logfile
223 POSIX_REC_INCR_XFER_SIZE
224 POSIX_REC_MAX_XFER_SIZE
225 POSIX_REC_MIN_XFER_SIZE
228 _POSIX_CHOWN_RESTRICTED
238 # Preserve executable bits for this shell script.
240 eval:(defun frobme
() (set-file-modes buffer-file-name file-mode
))
241 eval:(make-local-variable
'file-mode)
242 eval:(setq file-mode (file-modes (buffer-file-name)))
243 eval:(make-local-variable 'after-save-hook
)
244 eval:(add-hook
'after-save-hook 'frobme
)