From 6d8d9b74d9c50cb07fe952ac0929f618e4280a55 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 10 Mar 2006 02:20:45 +0000 Subject: Numerous updates to tests for issues found on Cygwin and Windows. Revert a fix for $? including non-existent files as it shows a bug in the Linux kernel build. Give them a release to fix this. Add some changes from Eli Z. for Windows changes. --- tests/scripts/options/symlinks | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests/scripts/options/symlinks') diff --git a/tests/scripts/options/symlinks b/tests/scripts/options/symlinks index 70cba3c..40d2564 100644 --- a/tests/scripts/options/symlinks +++ b/tests/scripts/options/symlinks @@ -10,7 +10,10 @@ $details = "Verify that symlink handling with and without -L works properly."; # (in that the symlink() function doesn't fail) but it really doesn't, so # check for it explicitly. -if ($port_type ne 'W32' && eval { symlink("",""); 1 }) { +if ($port_type eq 'W32' || !( eval { symlink("",""); 1 })) { + # This test is N/A + -1; +} else { # Set up a symlink sym -> dep # We'll make both dep and targ older than sym @@ -60,6 +63,6 @@ if ($port_type ne 'W32' && eval { symlink("",""); 1 }) { rmfiles('targ', 'sym'); -} -1; + 1; +} -- cgit v1.2.3