summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-08 09:33:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-08 09:33:28 (GMT)
commit92bd8b3a3f380903aa8f6e7221c2d4aba012a88a (patch)
tree0cab68ff4f115f1be5154fee4ae490dd01959dcc /tests
parentec01eef200318de0c4ec4236258febc61e836b58 (diff)
parent5039e7ce17a9ea6c7352b39a0bd70e31433b7843 (diff)
downloadtcl-92bd8b3a3f380903aa8f6e7221c2d4aba012a88a.zip
tcl-92bd8b3a3f380903aa8f6e7221c2d4aba012a88a.tar.gz
tcl-92bd8b3a3f380903aa8f6e7221c2d4aba012a88a.tar.bz2
Merge 8.6
Diffstat (limited to 'tests')
-rw-r--r--tests/fileName.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fileName.test b/tests/fileName.test
index d4dfd9a..c73efac 100644
--- a/tests/fileName.test
+++ b/tests/fileName.test
@@ -1084,6 +1084,12 @@ test filename-11.48 {Tcl_GlobCmd} -returnCodes error -body {
test filename-11.49 {Tcl_GlobCmd} -returnCodes error -body {
glob -types abcde -path foo -join * *
} -result {bad argument to "-types": abcde}
+test filename-11.50 {Tcl_GlobCmd} -returnCodes error -body {
+ glob -path hello -path salut *
+} -result {"-path" may only be used once}
+test filename-11.51 {Tcl_GlobCmd} -returnCodes error -body {
+ glob -dir hello -dir salut *
+} -result {"-directory" may only be used once}
file rename $horribleglobname globTest
file delete -force $tildeglobname