Thomas Fletcher
11/05/2007 8:02 AM
post2449
|
> -----Original Message-----
> From: David Zhao [mailto:david.zhao@oracle.com]
> Sent: November 4, 2007 10:16 PM
> To: ostech-core_os
> Subject: Tcl problem on QNX
>
> Our product has a Tcl test suite, which tests every part of
> the whole product. But when ported to QNX6.3.2, some of the
> Tcl tests failed, mostly because some files are not created
> when they should have been created.
> The test machine is a PC (X86), stable storage is IDE disk.
> So I am wondering if there is any limitations about QNX's
> file system, for example the file size, path length, or
> something. And also, is there any limitation or bugs about
> Tcl on QNX? Because the tcl test could not create some files
> under a specified directory.
It could be that the tests are attempting to do something with
the temp directory and if your temp directory points to /dev/shmem
then you will end up with some broken results. Since /dev/shmem
is not a complete filesystem, it is a repository for shared objects
to live, some things like mkdir() will not work.
If you set your temp directory to be a real filesystem (such as
QNX4) then you shouldn't have any problems, although all of the
filesytems have limits of some sorts. The limits are doced along
with the filesystems in the Utilities guide and also in the System
Architecture book.
I don't know if this what you are running into, but it is easy for
it to happen since the default /tmp location points to /dev/shmem.
Hope this helps,
Thomas
|
|
|