diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-30 13:37:42 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-30 13:37:42 (GMT) |
commit | 8f3e8012b1ad2c0f87eeba801b88e438b85143af (patch) | |
tree | 129f62422f2c348f41663d1c15a1deb2a47f4610 /tests/cmdAH.test | |
parent | cfe53b8870af9dc22186aadfaec26380ae433716 (diff) | |
parent | 076a7e2839881c03d0a98a8fc50823aef42ad79a (diff) | |
download | tcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.zip tcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.tar.gz tcl-8f3e8012b1ad2c0f87eeba801b88e438b85143af.tar.bz2 |
Merge 8.6
Diffstat (limited to 'tests/cmdAH.test')
-rw-r--r-- | tests/cmdAH.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cmdAH.test b/tests/cmdAH.test index 8f01816..97b2e91 100644 --- a/tests/cmdAH.test +++ b/tests/cmdAH.test @@ -1093,7 +1093,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] \ |