diff options
author | sebres <sebres@users.sourceforge.net> | 2018-05-28 12:26:20 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2018-05-28 12:26:20 (GMT) |
commit | 6966f0a2b1e1699483efc0f5b692224d10b07ab5 (patch) | |
tree | 696199c84cf337f30375afa3794afc98fba86b2e /tests/fileSystem.test | |
parent | 263de53394ce997af74f20135843ba8ef2e3b16e (diff) | |
parent | 89a84af271178d64a75a68b44f8434452fcba03e (diff) | |
download | tcl-6966f0a2b1e1699483efc0f5b692224d10b07ab5.zip tcl-6966f0a2b1e1699483efc0f5b692224d10b07ab5.tar.gz tcl-6966f0a2b1e1699483efc0f5b692224d10b07ab5.tar.bz2 |
merge 8.5 (conflicts resolved, rewritten without winapi-stubs)
Diffstat (limited to 'tests/fileSystem.test')
-rw-r--r-- | tests/fileSystem.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fileSystem.test b/tests/fileSystem.test index b805780..f778112 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 |