summaryrefslogtreecommitdiff
path: root/test/lib/completions/slapt-get.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/slapt-get.exp')
-rw-r--r--test/lib/completions/slapt-get.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lib/completions/slapt-get.exp b/test/lib/completions/slapt-get.exp
index 70afc666..7f5375a4 100644
--- a/test/lib/completions/slapt-get.exp
+++ b/test/lib/completions/slapt-get.exp
@@ -24,6 +24,12 @@ assert_complete "--update --upgrade" "slapt-get --up" $test
sync_after_int
+set test "--install should not complete anything if config doesn't exist"
+assert_no_complete "slapt-get -c non-existent-file --install " $test
+
+
+sync_after_int
+
set test "--install should complete available packages"
set config $::srcdir/fixtures/slackware/etc/slapt-get/slapt-getrc