diff --git a/test/lib/completions/screen.exp b/test/lib/completions/screen.exp index 62c57362..985862c1 100644 --- a/test/lib/completions/screen.exp +++ b/test/lib/completions/screen.exp @@ -31,12 +31,12 @@ expect { # _filedir only works if `-o filenames' is in effect, which isn't the # case for `screen' on bash-3, so an expected failure (xfail) -re "\r\nbar\\s+bar bar.d\\s+foo\\s+foo.d" { - if {[lindex $BASH_VERSINFO 0] < 4} {xfail "$test"} {fail "$test"} + if {[lindex $::BASH_VERSINFO 0] < 4} {xfail "$test"} {fail "$test"} } -re "\r\nbar\\s+bar\\\\ bar.d/\\s+foo\\s+foo.d/" { # On bash-3, the space in `bar bar.d' is escaped with a backslash # as a side-effect of emulating `-o filenames'. - if {[lindex $BASH_VERSINFO 0] <= 3} {pass "$test"} {fail "$test"} + if {[lindex $::BASH_VERSINFO 0] <= 3} {pass "$test"} {fail "$test"} } -re $prompt { unresolved "$test at prompt" } default { unresolved "$test" }