Skip to content

Commit d3276a8

Browse files
committed
test suite: Mark dpkg -L test case untested if no packages installed
The unresolved default would cause a test run failure.
1 parent a01c66b commit d3276a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lib/completions/dpkg.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sync_after_int
1616

1717

1818
# Build list of installed packages
19-
if {[assert_exec {dpkg --get-selections | command grep \[\[:space:\]\]install$ | cut -f1} packages]} {
19+
if {[assert_exec {dpkg --get-selections | command grep \[\[:space:\]\]install$ | cut -f1} packages "" "untested"]} {
2020
assert_complete $packages "dpkg -L "
2121
}
2222
sync_after_int

0 commit comments

Comments
 (0)