Skip to content

Commit 089288d

Browse files
committed
test suite: Fix ifdown and ifup CI test skipping
1 parent 7f1f33b commit 089288d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/lib/completions/ifdown.exp

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ proc teardown {} {
1111
setup
1212

1313

14-
if {[assert_exec {test -z $::env(CI)} "" "" "unsupported"]} {
14+
if {[info exists ::env(CI)]} {
15+
unsupported "ifdown should show completions"
16+
} else {
1517
assert_complete_any "ifdown "
1618
sync_after_int
1719
}

test/lib/completions/ifup.exp

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ proc teardown {} {
1111
setup
1212

1313

14-
if {[assert_exec {test -z $::env(CI)} "" "" "unsupported"]} {
14+
if {[info exists ::env(CI)]} {
15+
unsupported "ifup should show completions"
16+
} else {
1517
assert_complete_any "ifup "
1618
sync_after_int
1719
}

0 commit comments

Comments
 (0)