summaryrefslogtreecommitdiffstats
path: root/tests/fileSystem.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-05-18 06:18:56 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-05-18 06:18:56 (GMT)
commitba42e43e970a3a2f5299df4f36fb283c7cc9526b (patch)
treea9a2a467ed1eb8a74c49070dbc505cd494f8f6ed /tests/fileSystem.test
parent7672af7212bf3921fe55e99fe298e720d2d5b8d9 (diff)
downloadtcl-ba42e43e970a3a2f5299df4f36fb283c7cc9526b.zip
tcl-ba42e43e970a3a2f5299df4f36fb283c7cc9526b.tar.gz
tcl-ba42e43e970a3a2f5299df4f36fb283c7cc9526b.tar.bz2
Add test filesystem-1.30.1 checking file normalize ~$::tcl_platform(user). This test should currently fail when the computer is connected to a Windows domain controller, due to [9e6b569963]: file normalize ~user fails on Windows
Diffstat (limited to 'tests/fileSystem.test')
-rw-r--r--tests/fileSystem.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fileSystem.test b/tests/fileSystem.test
index b805780..edc1df2 100644
--- a/tests/fileSystem.test
+++ b/tests/fileSystem.test
@@ -264,6 +264,9 @@ removeDirectory dir.dir
test filesystem-1.30 {normalisation of nonexistent user} -body {
file normalize ~noonewiththisname
} -returnCodes error -result {user "noonewiththisname" doesn't exist}
+test filesystem-1.30.1 {normalisation of existing user} -body {
+ catch {file normalize ~$::tcl_platform(user)}
+} -result {0}
test filesystem-1.31 {link normalisation: link near filesystem root} {testsetplatform} {
testsetplatform unix
file normalize /foo/../bar