[ksh93-integration-discuss] Re: [busybox-dev] Re: Directory structure of ksh93 code in prototype05& build
Roland Mainz
roland.mainz at nrubsig.org
Tue Apr 24 23:43:25 PDT 2007
G N S wrote:
> > I would like to build only ksh93 from prototype005 instead of usr/src as given in the
> > announcement. Which source sub-trees do I need to build?
> > I have built libast, libcmd, libdll & libshell.
>
> Regarding my original post about the directory structure, cmd/ksh got
> built with the above mentioned libs(libast, libcmd, libdll, libshell).
> I am going ahead with the working assumption that these are the only
> sub-directories introduced by ksh93-integration.
You have to do a "make install" in usr/src/cmd/isaexec/ , too.
> (apart from the makefile modifications to integrate into ON build)
>
> Inputs required from the ksh93-integration project members:
> Are the test scripts available at usr/src/lib/libshell/common/tests
> all that are there.
> A sample test "ksh93 arith.sh" resulted in the following error messages.
> arith.sh[360]: ((--1)) not generating error message
> arith.sh[431]: divide by zero not trapped: 1/(1/2)
> arith.sh[431]: divide by zero not trapped: 8%(1/2)
> arith.sh[431]: divide by zero not trapped: 8%(1.0/2)
> arith.sh[435]: invalid value for: 1/(1.0/2)
> arith.sh[435]: invalid value for: 1/(1/2.0)
> arith.sh[438]: ((y += x += 2)) not working
> arith.sh[439]: b?a=1:b=9 not working
> arith.sh[443]: pi has less than 14 significant places
Uhhrrgll... this should _not_ happen...
> Have I used the test script as it is supposed to be?
AFAIK no. The test scripts are normally invoked using the
usr/src/lib/libshell/common/tests/shtests wrapper.
For the OS/Net tree there is a simple way to run the test suite:
After building ksh93 do a plain:
$ cd usr/src/cmd/ksh
$ make testshell 2>&1 | tee -a testshell.log
this should run the ksh93 test suite over various locales as described
in usr/src/cmd/ksh/Makefile.testshell
> Are these errors expected in the current ksh93 in prototype005?
Definately _no_. By default all tests should be passed without errors in
the "C" locale.
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the ksh93-integration-discuss
mailing list