summaryrefslogtreecommitdiff
path: root/test/lib/completions/upgradepkg.exp
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:14 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.net.br>2020-08-03 18:43:14 -0300
commitcc81eb120ad1a456f030f7b828697013a9b2b66a (patch)
treebb61702f98b407b2f7987faa846190fb3f002e55 /test/lib/completions/upgradepkg.exp
parent8394526300cc384e53c470303aeb8b4fdcaf84a3 (diff)
parent95623d39d6029ba78ec96ad5ea08e9ac12629b91 (diff)
downloadbash-completion-cc81eb120ad1a456f030f7b828697013a9b2b66a.tar.gz
Update upstream source from tag 'upstream/2.11'
Update to upstream version '2.11' with Debian dir 932c2c1a6192441f3cd8897e72d737f2f0277f60
Diffstat (limited to 'test/lib/completions/upgradepkg.exp')
-rw-r--r--test/lib/completions/upgradepkg.exp26
1 files changed, 0 insertions, 26 deletions
diff --git a/test/lib/completions/upgradepkg.exp b/test/lib/completions/upgradepkg.exp
deleted file mode 100644
index ffb4ba28..00000000
--- a/test/lib/completions/upgradepkg.exp
+++ /dev/null
@@ -1,26 +0,0 @@
-proc setup {} {
- save_env
-}
-
-
-proc teardown {} {
- assert_env_unmodified {/OLDPWD=/d}
-}
-
-
-setup
-
-
-set test "should complete *.t\[gbxl\]z files and dirs after % sign"
-set oldpkg "xx-2.0-i486-2"
-set dir $::srcdir/fixtures/slackware/home
-set files [split [exec bash -c "cd $dir && find . -mindepth 1 -maxdepth 1 \
- \\( -type d -printf '$oldpkg%%%P/\\n' \\) -o \
- \\( -type f -name '*.t\[bglx\]z' -printf '$oldpkg%%%P\\n' \\)"] "\n"]
-assert_complete_dir $files "upgradepkg $oldpkg%" $dir $test
-
-
-sync_after_int
-
-
-teardown