Ticket #33684: shell.log

File shell.log, 21.9 KB (added by bkorb@…, 13 years ago)

the xtrace file, in case that's helpful

Line 
1>>>shell-init_tests> pwd
2>>shell-init_tests> TMPDIR=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/test/testdir/shell-tmpd
3>>shell-init_tests> export TMPDIR
4>>shell-init_tests> mkdir /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/test/testdir/shell-tmpd
5>>>shell-init_tests> cd /sw/lib/../bin
6>>>shell-init_tests> pwd
7>>shell-init_tests> f=/sw/bin
8>>shell-init_tests> PATH=/sw/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/X11R6/bin
9>>shell-init_tests> set_exe AGexe
10>>shell-set_exe> eval 'f=${AGexe}'
11>>>shell-set_exe> f=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
12>>>shell-set_exe> dirname /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
13>>shell-set_exe> d=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5
14>>>shell-set_exe> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5
15>>>shell-set_exe> pwd
16>>shell-set_exe> d=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5
17>>shell-set_exe> PATH=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5:/sw/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/X11R6/bin
18>>>shell-set_exe> basename /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
19>>shell-set_exe> f=autogen
20>>shell-set_exe> eval export AGexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
21>>>shell-set_exe> export AGexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
22>>>shell-set_exe> AGexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
23>>shell-init_tests> AGexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
24>>shell-init_tests> set_exe GDexe
25>>shell-set_exe> eval 'f=${GDexe}'
26>>>shell-set_exe> f=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs/getdefs
27>>>shell-set_exe> dirname /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs/getdefs
28>>shell-set_exe> d=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs
29>>>shell-set_exe> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs
30>>>shell-set_exe> pwd
31>>shell-set_exe> d=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs
32>>shell-set_exe> PATH=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs:/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5:/sw/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/X11R6/bin
33>>>shell-set_exe> basename /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs/getdefs
34>>shell-set_exe> f=getdefs
35>>shell-set_exe> eval export GDexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs/getdefs
36>>>shell-set_exe> export GDexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs/getdefs
37>>>shell-set_exe> GDexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs/getdefs
38>>shell-init_tests> set_exe CLexe
39>>shell-set_exe> eval 'f=${CLexe}'
40>>>shell-set_exe> f=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns/columns
41>>>shell-set_exe> dirname /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns/columns
42>>shell-set_exe> d=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns
43>>>shell-set_exe> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns
44>>>shell-set_exe> pwd
45>>shell-set_exe> d=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns
46>>shell-set_exe> PATH=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns:/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs:/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5:/sw/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/X11R6/bin
47>>>shell-set_exe> basename /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns/columns
48>>shell-set_exe> f=columns
49>>shell-set_exe> eval export CLexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns/columns
50>>>shell-set_exe> export CLexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns/columns
51>>>shell-set_exe> CLexe=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns/columns
52>>>shell-init_tests> pwd
53>>shell-init_tests> builddir=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/test
54>>shell-init_tests> testsubdir=testdir
55>>shell-init_tests> INCS='-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts'
56>>>shell-init_tests> echo -DHAVE_CONFIG_H -g -O2
57>>>shell-init_tests> /sw/bin/sed s/-Werror//
58>>shell-init_tests> CFLAGS='-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -DHAVE_CONFIG_H -g -O2'
59>>shell-init_tests> export PATH
60>>shell-init_tests> echo PATH is /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns:/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs:/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5:/sw/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/X11R6/bin
61PATH is /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns:/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/getdefs:/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5:/sw/bin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/X11R6/bin
62>>shell-init_tests> command -v columns
63/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/columns/columns
64>>shell-init_tests> command -v autogen
65/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen
66>>shell-init_tests> lo_dir=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts
67>>shell-init_tests> test -d /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs
68>>shell-init_tests> lo_dir=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs
69>>shell-init_tests> test X = X
70>>shell-init_tests> LD_LIBRARY_PATH=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs:/sw/lib
71>>>shell-init_tests> echo /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a
72>>shell-init_tests> LIB=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a
73>>shell-init_tests> export LD_LIBRARY_PATH
74>>shell-init_tests> test 108008 -gt 107000
75>>shell-init_tests> case ${AG_VERSION} in
76>>shell-init_tests> GUILE_WARN_DEPRECATED=no
77>>shell-init_tests> export GUILE_WARN_DEPRECATED
78>>shell-init_tests> test -f /usr/lib/libgen.so
79>>shell-init_tests> AG_L='run_ag ao'
80>>shell-init_tests> agl_opts='-L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts/tpl -L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/tpl'
81>>shell-init_tests> export CC GUILE_VERSION LIBGUILE_PATH AG_VERSION AGexe AG_L GDexe CLexe agl_opts AG_L
82>>shell-> cfg_inc
83>>shell-cfg_inc> cd testdir
84>>>shell-cfg_inc> pwd
85>>shell-cfg_inc> testsubdir=/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/test/testdir
86>>>shell-cfg_inc> for f in '${top_builddir}' '${top_srcdir}'
87>>>shell-cfg_inc> for d in . autoopts agen5
88>>>shell-cfg_inc> sort -u
89>>>shell-cfg_inc> /sw/bin/sed 's/^/-I/'
90>>>shell-cfg_inc> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/.
91>>>shell-cfg_inc> pwd
92>>>shell-cfg_inc> for d in . autoopts agen5
93>>>shell-cfg_inc> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts
94>>>shell-cfg_inc> pwd
95>>>shell-cfg_inc> for d in . autoopts agen5
96>>>shell-cfg_inc> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5
97>>>shell-cfg_inc> pwd
98>>>shell-cfg_inc> for f in '${top_builddir}' '${top_srcdir}'
99>>>shell-cfg_inc> for d in . autoopts agen5
100>>>shell-cfg_inc> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/.
101>>>shell-cfg_inc> pwd
102>>>shell-cfg_inc> for d in . autoopts agen5
103>>>shell-cfg_inc> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts
104>>>shell-cfg_inc> pwd
105>>>shell-cfg_inc> for d in . autoopts agen5
106>>>shell-cfg_inc> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5
107>>>shell-cfg_inc> pwd
108>>shell-cfg_inc> dirs='-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15
109-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5
110-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts
111-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build
112-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5
113-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts'
114>>>shell-cfg_inc> echo -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE
115>>shell-cfg_inc> INC='-I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE'
116>>shell-cfg_inc> : '=== Running shell.test for shell using /bin/bash ==='
117>>shell-cfg_inc> chmod +w shell-tmpd shell.log
118>>shell-cfg_inc> true
119>>shell-cfg_inc> SHELLX='/bin/bash -x'
120>>shell-> trap 'failure '\''test shell killed on timeout'\''' 15
121>>shell-> exec
122>>shell-> pwd
123>shell-> echo 'creating shell.def in /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/test/testdir'
124creating shell.def in /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/test/testdir
125>shell-> testname=shell
126>shell-> test_main=yes
127>shell-> argument='reg-arg [ ... ]'
128>shell-> long_opts=true
129>shell-> /bin/bash -x /sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts/test/stdopts.def option: second
130>shell-> exec
131>shell-> cat
132>shell-> echo test_main yes
133test_main yes
134>shell-> echo argument reg-arg '[' ... ']'
135argument reg-arg [ ... ]
136>shell-> echo long_opts true
137long_opts true
138>shell-> test -n yes
139>shell-> echo 'test-main  = '\''yes'\'';'
140>shell-> test -n 'reg-arg [ ... ]'
141>shell-> echo 'argument   = '\''reg-arg [ ... ]'\'';'
142>shell-> test -n true
143>shell-> echo 'long-opts;'
144>shell-> for flag in '"$@"'
145>>shell-> echo option:
146>>shell-> /sw/bin/sed 's/[^a-zA-Z0-9_-].*//'
147>shell-> fname=option
148>>shell-> echo option:
149>>shell-> /sw/bin/sed 's/^option//'
150>shell-> flag=:
151>shell-> case "${flag}" in
152>>shell-> echo :
153>>shell-> /sw/bin/sed 's/^://'
154>shell-> aval=
155>shell-> arg='    arg-type = string;'
156>shell-> test -n ''
157>shell-> cat
158>shell-> true
159>>shell-> echo option
160>>shell-> /sw/bin/sed 's/\(.\).*/\1/'
161>shell-> fname=o
162>shell-> echo '    value = '\''o'\'';'
163>shell-> test -n '    arg-type = string;'
164>shell-> echo '    arg-type = string;'
165>shell-> echo '};'
166>shell-> echo
167>shell-> for flag in '"$@"'
168>>shell-> echo second
169>>shell-> /sw/bin/sed 's/[^a-zA-Z0-9_-].*//'
170>shell-> fname=second
171>>shell-> echo second
172>>shell-> /sw/bin/sed 's/^second//'
173>shell-> flag=
174>shell-> case "${flag}" in
175>shell-> unset arg
176>shell-> cat
177>shell-> true
178>>shell-> echo second
179>>shell-> /sw/bin/sed 's/\(.\).*/\1/'
180>shell-> fname=s
181>shell-> echo '    value = '\''s'\'';'
182>shell-> test -n ''
183>shell-> echo '};'
184>shell-> echo
185>shell-> exec
186>shell-> echo run_ag ao shell.def
187run_ag ao shell.def
188>shell-> run_ag ao shell.def
189>shell-run_ag> local tfile=shell-aglog-ao-22359.log
190>shell-run_ag> shift
191>shell-run_ag> local opts=
192>shell-run_ag> local 'tr=--trace=every --trace-out=>>shell-aglog-ao-22359.log'
193>shell-run_ag> case " $* " in
194>shell-run_ag> opts='-L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts/tpl -L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/tpl'
195>shell-run_ag> MALLOC_CHECK_=2
196>shell-run_ag> /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen -L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts/tpl -L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/tpl --trace=every '--trace-out=>>shell-aglog-ao-22359.log' shell.def
197>shell-> compile '-?'
198>shell-compile> set -x
199>shell-compile> test X = X
200>shell-compile> Csrc=shell
201>shell-compile> test X = X
202>shell-compile> Cexe=shell
203>shell-compile> test X = X
204>shell-compile> Dnam=shell
205>>shell-compile> echo TEST_TEST_shell_OPTS
206>>shell-compile> /usr/bin/tr '[a-z]-' '[A-Z]_'
207>shell-compile> d=TEST_TEST_SHELL_OPTS
208>shell-compile> cc_cmd='clang -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -DHAVE_CONFIG_H -g -O2 -DTEST_TEST_SHELL_OPTS -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE -o shell shell.c /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a'
209>shell-compile> eval clang -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -DHAVE_CONFIG_H -g -O2 -DTEST_TEST_SHELL_OPTS -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE -o shell shell.c /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a
210>>shell-compile> clang -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -DHAVE_CONFIG_H -g -O2 -DTEST_TEST_SHELL_OPTS -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE -o shell shell.c /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a
211>shell-compile> test 1 -gt 0
212>shell-compile> ./shell '-?'
213>shell-compile> clean_help
214>shell-clean_help> test X = X
215>shell-clean_help> s=
216>shell-clean_help> s='/^Packaged by/d
217/^Report .* bugs to/d'
218>shell-clean_help> s='/[Pp]lease send bug reports/d
219/^Packaged by/d
220/^Report .* bugs to/d'
221>shell-clean_help> /sw/bin/sed '/[Pp]lease send bug reports/d
222/^Packaged by/d
223/^Report .* bugs to/d'
224>shell-clean_help> egrep -v '^[         ]*$'
225>shell-compile> Csrc=
226>shell-compile> Cexe=
227>shell-compile> Dnam=
228>shell-> echo creating shell.hlp
229creating shell.hlp
230>shell-> clean_help
231>shell-clean_help> test X = X
232>shell-clean_help> s=
233>shell-clean_help> s='/^Packaged by/d
234/^Report .* bugs to/d'
235>shell-clean_help> s='/[Pp]lease send bug reports/d
236/^Packaged by/d
237/^Report .* bugs to/d'
238>shell-clean_help> /sw/bin/sed '/[Pp]lease send bug reports/d
239/^Packaged by/d
240/^Report .* bugs to/d'
241>shell-clean_help> egrep -v '^[         ]*$'
242>shell-> cmp -s shell.help shell.hlp
243>shell-> ./shell -X
244>shell-> ./shell -o
245>shell-> ./shell
246>shell-> echo creating shell.out
247creating shell.out
248>shell-> cat
249>shell-> ./shell -o opt-arg -s a1 a2
250>shell-> cmp -s shell.test shell.out
251>shell-> /sw/bin/sed /test-main/s/yes/optionParseShell/ shell.def
252>shell-> mv -f XX shell.def
253>shell-> echo run_ag ao shell.def
254run_ag ao shell.def
255>shell-> run_ag ao shell.def
256>shell-run_ag> local tfile=shell-aglog-ao-22359.log
257>shell-run_ag> shift
258>shell-run_ag> local opts=
259>shell-run_ag> local 'tr=--trace=every --trace-out=>>shell-aglog-ao-22359.log'
260>shell-run_ag> case " $* " in
261>shell-run_ag> opts='-L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts/tpl -L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/tpl'
262>shell-run_ag> MALLOC_CHECK_=2
263>shell-run_ag> /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5/autogen -L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts/tpl -L/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/tpl --trace=every '--trace-out=>>shell-aglog-ao-22359.log' shell.def
264>shell-> sedcmd='/Note that.*is only useful/,/will be regenerated/d'
265>shell-> compile '-?'
266>shell-compile> set -x
267>shell-compile> test X = X
268>shell-compile> Csrc=shell
269>shell-compile> test X = X
270>shell-compile> Cexe=shell
271>shell-compile> test X = X
272>shell-compile> Dnam=shell
273>>shell-compile> echo TEST_TEST_shell_OPTS
274>>shell-compile> /usr/bin/tr '[a-z]-' '[A-Z]_'
275>shell-compile> d=TEST_TEST_SHELL_OPTS
276>shell-compile> cc_cmd='clang -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -DHAVE_CONFIG_H -g -O2 -DTEST_TEST_SHELL_OPTS -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE -o shell shell.c /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a'
277>shell-compile> eval clang -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -DHAVE_CONFIG_H -g -O2 -DTEST_TEST_SHELL_OPTS -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE -o shell shell.c /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a
278>>shell-compile> clang -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -DHAVE_CONFIG_H -g -O2 -DTEST_TEST_SHELL_OPTS -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/autoopts -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/agen5 -I/sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts -I/sw/include -I/sw/include -Dmacosx -I/sw/include -I/sw/include -D_THREAD_SAFE -o shell shell.c /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/.libs/libopts.a
279>shell-compile> test 1 -gt 0
280>shell-compile> ./shell '-?'
281>shell-compile> clean_help
282>shell-clean_help> test 'X/Note that.*is only useful/,/will be regenerated/d' = X
283>shell-clean_help> s='
284/Note that.*is only useful/,/will be regenerated/d'
285>shell-clean_help> s='/^Packaged by/d
286/^Report .* bugs to/d
287/Note that.*is only useful/,/will be regenerated/d'
288>shell-clean_help> s='/[Pp]lease send bug reports/d
289/^Packaged by/d
290/^Report .* bugs to/d
291/Note that.*is only useful/,/will be regenerated/d'
292>shell-clean_help> /sw/bin/sed '/[Pp]lease send bug reports/d
293/^Packaged by/d
294/^Report .* bugs to/d
295/Note that.*is only useful/,/will be regenerated/d'
296>shell-clean_help> egrep -v '^[         ]*$'
297>shell-compile> Csrc=
298>shell-compile> Cexe=
299>shell-compile> Dnam=
300>shell-> echo creating shell.hlp
301creating shell.hlp
302>shell-> clean_help
303>shell-clean_help> test 'X/Note that.*is only useful/,/will be regenerated/d' = X
304>shell-clean_help> s='
305/Note that.*is only useful/,/will be regenerated/d'
306>shell-clean_help> s='/^Packaged by/d
307/^Report .* bugs to/d
308/Note that.*is only useful/,/will be regenerated/d'
309>shell-clean_help> s='/[Pp]lease send bug reports/d
310/^Packaged by/d
311/^Report .* bugs to/d
312/Note that.*is only useful/,/will be regenerated/d'
313>shell-clean_help> /sw/bin/sed '/[Pp]lease send bug reports/d
314/^Packaged by/d
315/^Report .* bugs to/d
316/Note that.*is only useful/,/will be regenerated/d'
317>shell-clean_help> egrep -v '^[         ]*$'
318>shell-> IFS=
319>shell-> read -r line
320>shell-> mv -f shell.HELP shell.help
321>shell-> files='shell.hlp shell.help'
322>shell-> cmp -s shell.hlp shell.help
323>>shell-> diff -c shell.hlp shell.help
324>shell-> failure 'script generator help output mismatch: *** shell.hlp  Sun Mar 18 12:21:23 2012
325--- shell.help  Sun Mar 18 12:21:23 2012
326***************
327*** 1,25 ****
328- genshellopt - Generate Shell Option Processing Script - Ver. 1
329- USAGE:  shell [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
330-   Flg Arg Option-Name    Description
331-    -o Str script         Output Script File
332-    -s Str shell          Shell name (follows "#!" magic)
333-                               - disabled as --no-shell
334-                               - enabled by default
335-    -v opt version        Output version information and exit
336-    -? no  help           Display extended usage information and exit
337-    -! no  more-help      Extended usage information passed thru pager
338- Options are specified by doubled hyphens and their name or by a single
339- hyphen and the flag character.
340- = = = = = = = =
341- This incarnation of genshell will produce
342- a shell script to parse the options for test_shell:
343- test_shell - Test AutoOpts for shell
344- USAGE:  test_shell [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
345-               reg-arg [ ... ]
346-   Flg Arg Option-Name    Description
347-    -o Str option         The option option descrip
348-    -s no  second         The second option descrip
349-    -? no  help           Display extended usage information and exit
350-    -! no  more-help      Extended usage information passed thru pager
351- Options are specified by doubled hyphens and their name or by a single
352- hyphen and the flag character.
353--- 0 ----'
354>shell-failure> trap '' 15
355>shell-failure> set -x
356>shell-failure> cd /sw/src/fink.build/autogen-5.15-1/autogen-5.15/build/autoopts/test/testdir
357>shell-failure> test -d ../FAILURES
358>shell-failure> mkdir ../FAILURES
359>shell-failure> exec