>>>>> "mg" == Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de> writes:
mg> Please check if it works for you, run the test suite with
mg>
mg> ./go -lm scsh/test/test-packages.scm -o test-all -c "(test-all)"
the tests run fine on
- Linux/x86 2.4.17 glibc22 (debian testing)
- Linux/powerpc 2.2.18
On Solaris 2.7 there are problems with
Testing process-state:chdir ... Error! Input was (/bin)
Testing process-state:with-cwd ... Error! Input was (/bin)
which are due to /bin being a symlink to /usr/bin (so cwd is returning
"/usr/bin"). I don't see this in standard shells (like bash or zsh);
maybe they are playing tricks with directory caching.
On MacOS X there is a problem in file-system:file-not-exists-2?, which
comes from strange handling of directories whose names have a trailing
slash: scsh should perhaps remove any trailing slash on this platform?
,----
| Welcome to scsh 0.6.2 (Gambit-C 4.0)[beta 1]
| Type ,? for help.
| > (with-cwd "/tmp/scsh-test" (delete-directory "dir"))
| > ,exit
| bash-2.05a$ mkdir /tmp/scsh-test/dir
| bash-2.05a$ ./go
| Welcome to scsh 0.6.2 (Gambit-C 4.0)[beta 1]
| Type ,? for help.
| > (with-cwd "/tmp/scsh-test" (delete-directory "dir/"))
| Error: 21
| "Is a directory"
| #{Procedure 12735 (delete-directory in scsh-level-0)}
| "dir/"
`----
On Linux/SPARC there is a problem with create-temp-file: it looks like the
O_CREAT flag is not being used correctly; I'll try to find where it
comes from.
,----
| > (create-temp-file)
| Error: 2
| "No such file or directory"
| #{Procedure 12515 (%open in scsh-level-0)}
| "/var/tmp/44130"
| 193
| 384
`----
,---- strace output --
| read(0, "(create-temp-file)\n", 255) = 19
| open("/var/tmp/43960", O_WRONLY|O_ASYNC|0x80) = -1 ENOENT (No such file or
directory)
| write(1, "\nError: 2\n \"No such file o"..., 144) = 144
`----
--
Eric Marsden <URL:http://www.laas.fr/~emarsden/>
|