summaryrefslogtreecommitdiffstats
path: root/tests/fileSystem.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-29 07:23:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-05-29 07:23:51 (GMT)
commitbb503004b6169640fd3be00ab4c09d49368bdf42 (patch)
tree9e1d6c017847ea8cee4828c60e29253c602b1486 /tests/fileSystem.test
parent267cdaec036394312cd843ed142d998f7bbee4f3 (diff)
parenta2ce3dab9b2939f21c06358081d0977ec937e106 (diff)
downloadtcl-bb503004b6169640fd3be00ab4c09d49368bdf42.zip
tcl-bb503004b6169640fd3be00ab4c09d49368bdf42.tar.gz
tcl-bb503004b6169640fd3be00ab4c09d49368bdf42.tar.bz2
merge 8.6
Diffstat (limited to 'tests/fileSystem.test')
-rw-r--r--tests/fileSystem.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fileSystem.test b/tests/fileSystem.test
index 0dd0bdb..2494cb4 100644
--- a/tests/fileSystem.test
+++ b/tests/fileSystem.test
@@ -264,6 +264,12 @@ 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.30.2 {normalisation of nonexistent user specified as user@domain} -body {
+ file normalize ~nonexistentuser@nonexistentdomain
+} -returnCodes error -result {user "nonexistentuser@nonexistentdomain" doesn't exist}
test filesystem-1.31 {link normalisation: link near filesystem root} {testsetplatform} {
testsetplatform unix
file normalize /foo/../bar