Skip to content

Commit

Permalink
test suite: Mark expected centos6 CI _filedir failures as such
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 27, 2017
1 parent eb6f40c commit a1a4eb8
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions test/unit/_filedir.exp
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,13 @@ foreach name {f f2} {


set test "completing $name a\\\$b/ should return h"
set cmd "$name a\\\$b/"
assert_complete_dir h $cmd "$::srcdir/fixtures/_filedir" $test


sync_after_int
if {[info exists ::env(CI)] && [info exists ::env(DIST)] && $::env(DIST) == "centos6"} {
xfail $test
} else {
set cmd "$name a\\\$b/"
assert_complete_dir h $cmd "$::srcdir/fixtures/_filedir" $test
sync_after_int
}


if {! [is_cygwin]} { # Illegal characters in file/dir names
Expand Down Expand Up @@ -190,11 +192,13 @@ foreach name {f f2} {
}


set cmd "$name \"a\\\$b/"; #"
assert_complete_dir {h"} $cmd "$::srcdir/fixtures/_filedir"; #"


sync_after_int
if {[info exists ::env(CI)] && [info exists ::env(DIST)] && $::env(DIST) == "centos6"} {
xfail "$name \"a\\\$b/ should show completions"
} else {
set cmd "$name \"a\\\$b/"; #"
assert_complete_dir {h"} $cmd "$::srcdir/fixtures/_filedir"; #"
sync_after_int
}


set cmd "$name \"a\\b/"; #"
Expand Down

0 comments on commit a1a4eb8

Please sign in to comment.