summaryrefslogtreecommitdiffstats
path: root/tests/cmdAH.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 14:25:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-30 14:25:59 (GMT)
commit019e49cb721639318c71429003fa55ac2fbfa78d (patch)
tree835b8d5c53bb02190a5a46427f1b9b864afac725 /tests/cmdAH.test
parent991d8133789e318faad62a760b5bb76bf6dc5b87 (diff)
parent3b0ee42270085b039b75e2e27a3a145399a1bfac (diff)
downloadtcl-019e49cb721639318c71429003fa55ac2fbfa78d.zip
tcl-019e49cb721639318c71429003fa55ac2fbfa78d.tar.gz
tcl-019e49cb721639318c71429003fa55ac2fbfa78d.tar.bz2
Merge 8.7
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r--tests/cmdAH.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test
index f63c868..4c9d74d 100644
--- a/tests/cmdAH.test
+++ b/tests/cmdAH.test
@@ -1087,7 +1087,7 @@ test cmdAH-23.4 {Tcl_FileObjCmd: lstat} -setup {
unset -nocomplain stat
} -constraints {unix nonPortable} -body {
file lstat $linkfile stat
- list $stat(nlink) [expr $stat(mode)&0777] $stat(type)
+ list $stat(nlink) [expr {$stat(mode) & 0o777}] $stat(type)
} -result {1 511 link}
test cmdAH-23.5 {Tcl_FileObjCmd: lstat errors} {nonPortable} {
list [catch {file lstat _bogus_ stat} msg] [string tolower $msg] \