From d54f558eda82c5c6ab3459cc35ab7fdcc5c0a0cb Mon Sep 17 00:00:00 2001 From: vincentdarley Date: Thu, 18 Jul 2002 16:32:39 +0000 Subject: winFCmd.test cleanup --- ChangeLog | 5 ++++- tests/winFCmd.test | 14 +++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index ddcb4a2..1c83133 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,10 @@ * generic/tclFCmd.c: * tests/fileSystem.test: fixed a 'knownBug' with 'file attributes ""' - + * tests/winFCmd.test: added 'pcOnly' constraint to some + tests to make for more useful 'tests skipped' log from + running all tests. + 2002-07-17 Miguel Sofer * generic/tclBasic.c (CallCommandTraces): delete traces now diff --git a/tests/winFCmd.test b/tests/winFCmd.test index 7d1ae3b..97296e9 100644 --- a/tests/winFCmd.test +++ b/tests/winFCmd.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: winFCmd.test,v 1.17 2002/07/15 09:01:51 vincentdarley Exp $ +# RCS: @(#) $Id: winFCmd.test,v 1.18 2002/07/18 16:32:55 vincentdarley Exp $ # if {[lsearch [namespace children] ::tcltest] == -1} { @@ -202,11 +202,11 @@ test winFCmd-1.12 {TclpRenameFile: errno: EACCES} {pcOnly} { close $fd set msg } {1 EACCES} -test winFCmd-1.13 {TclpRenameFile: errno: EACCES} {win2000orXP} { +test winFCmd-1.13 {TclpRenameFile: errno: EACCES} {pcOnly win2000orXP} { cleanup list [catch {testfile mv nul tf1} msg] $msg } {1 EINVAL} -test winFCmd-1.13.1 {TclpRenameFile: errno: EACCES} {winOlderThan2000} { +test winFCmd-1.13.1 {TclpRenameFile: errno: EACCES} {pcOnly winOlderThan2000} { cleanup list [catch {testfile mv nul tf1} msg] $msg } {1 EACCES} @@ -234,11 +234,11 @@ test winFCmd-1.18 {TclpRenameFile: srcAttr == -1} {pcOnly} { cleanup list [catch {testfile mv tf1 tf2} msg] $msg } {1 ENOENT} -test winFCmd-1.19 {TclpRenameFile: errno == EACCES} {win2000orXP} { +test winFCmd-1.19 {TclpRenameFile: errno == EACCES} {pcOnly win2000orXP} { cleanup list [catch {testfile mv nul tf1} msg] $msg } {1 EINVAL} -test winFCmd-1.19.1 {TclpRenameFile: errno == EACCES} {winOlderThan2000} { +test winFCmd-1.19.1 {TclpRenameFile: errno == EACCES} {pcOnly winOlderThan2000} { cleanup list [catch {testfile mv nul tf1} msg] $msg } {1 EACCES} @@ -383,11 +383,11 @@ test winFCmd-2.7 {TclpCopyFile: errno: EACCES} {95} { close $fd set msg } {1 EACCES} -test winFCmd-2.8 {TclpCopyFile: errno: EACCES} {win2000orXP} { +test winFCmd-2.8 {TclpCopyFile: errno: EACCES} {pcOnly win2000orXP} { cleanup list [catch {testfile cp nul tf1} msg] $msg } {1 EINVAL} -test winFCmd-2.8.1 {TclpCopyFile: errno: EACCES} {nt winOlderThan2000} { +test winFCmd-2.8.1 {TclpCopyFile: errno: EACCES} {pcOnly nt winOlderThan2000} { cleanup list [catch {testfile cp nul tf1} msg] $msg } {1 EACCES} -- cgit v0.12