diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.net.br> | 2020-08-03 18:43:13 -0300 |
commit | 95623d39d6029ba78ec96ad5ea08e9ac12629b91 (patch) | |
tree | ea0fe36eb5e6f40e0a1f765d44c4b0c0b2bfb089 /test/lib/completions/slapt-src.exp | |
parent | 019f3cc463db63abc6460f97deb488deec43840b (diff) | |
download | bash-completion-95623d39d6029ba78ec96ad5ea08e9ac12629b91.tar.gz |
New upstream version 2.11upstream/2.11upstream
Diffstat (limited to 'test/lib/completions/slapt-src.exp')
-rw-r--r-- | test/lib/completions/slapt-src.exp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/lib/completions/slapt-src.exp b/test/lib/completions/slapt-src.exp deleted file mode 100644 index b66385ef..00000000 --- a/test/lib/completions/slapt-src.exp +++ /dev/null @@ -1,29 +0,0 @@ -proc setup {} { - save_env -} - - -proc teardown {} { - assert_env_unmodified -} - - -setup - - -set test "--install should complete available packages" -set config $::srcdir/fixtures/slackware/etc/slapt-get/slapt-srcrc -set workdir [file normalize $::srcdir/fixtures/slackware/usr/src/slapt-src/] -set slb_data "$workdir/slackbuilds_data" -set f [open $config w]; puts $f "BUILDDIR=$workdir"; close $f -set slackbuilds [split [exec bash -c "sed -n \ - -e '/^SLACKBUILD NAME: /{s/^SLACKBUILD NAME: \\{1,\\}//;p}' \ - -e '/^SLACKBUILD VERSION: /{s/^SLACKBUILD VERSION: \\{1,\\}//;p}' \ - $slb_data | sed -e 'N;s/\\n/:/'"] "\n"] -assert_complete $slackbuilds "slapt-src --config $config --install " $test - - -sync_after_int - - -teardown |