Mail Archives: djgpp-workers/2003/01/23/15:23:22
Richard Dawe wrote:
>>No I don't, but I didn't see any failures, probably because we're
>>running two different test programs - I've cleaned up the test program a
>>bit. I'm attaching it. Could you tell if it fails with your testcases?
>
>
> Which test cases? The ones I have described or the ones that failed?
The ones you've described.
> The test cases that failed are in the CVS xsymlink test. I haven't added any
> test cases to that for a while. The tests that fail are the ones that take the
> current directory, count the number of slashes (n_slashes) and then prepend
> lots of ".."s to the path without the directory (cwd_without_drive).
Uhm, I guess I have a problem with my setup here - these test cases
don't fail for me. Maybe you have some piece of advice?
sh-2.05b$ pwd
c:/devel/djgpp/tests/libc/compat/unistd
sh-2.05b$ ./xsymlink
Running __solve_symlinks() and readlink() testsuite:
Tests that check __solve_symlinks() works:
Test 1 passed
Test 2 passed
Test 3 passed
Test 4 passed
Test 5 passed
Test 6 passed
Test 7 passed
Test 8 passed
Test 9 passed
Test 10 passed
Test 11 passed
Test 12 passed
Test 13 passed
Tests that check __solve_symlinks() based on current directory:
Test 1: Solving
c:/devel/djgpp/tests/libc/compat/unistd/../../../../../../devel/djgpp/tests/libc/compat/unistd/test1
Test 1 passed
Test 2: Solving
c:../../../../../../devel/djgpp/tests/libc/compat/unistd/test1
Test 2 passed
Test 3: Solving
c:../../../../../../../devel/djgpp/tests/libc/compat/unistd/test1
Test 3 passed
Tests that check __solve_symlinks() failure cases:
Test 1 passed
Test 2 passed
PASS
>>>* symlinks between drives;
>>
>>Will see, the problem is that not everybody has multiple drives...
>
>
> Most computers have a floppy drive, don't they?
So we will require user to insert blank formatted diskette into drive
A:, won't we? Somehow it does not look reasonable for me :)
--
Laurynas
- Raw text -