Open lectrode opened 7 years ago
Addresses the following:
Resolves #63
.*
apacman -S apacm.*
Resolves #79
+
@
Resolves #80
echo
/dev/tty
Resolves #86
Additionally, this fixes some of the tests in tests.bats (including a proot crash workaround) and skips testing non-existant "broken" package.
tests.bats
proot
I also made sure to run the tests.bats file against my changes before submitting the pull request:
$ bats tests.bats ✓ test command is found ✓ invoking without arguments prints usage ✓ invoke with nonexistent parameter returns 1 ✓ invoking with '--help' parameter prints usage ✓ invoke with '--version' parameter prints ascii art ✓ invoke with '--verbose' parameter without package argument ✓ test internet connectivity ✓ interactive search install package ✓ interactive search install nonexistant package ✓ invoke with '-S' parameter installs package from AUR - invoke with '-S' parameter fails to build broken package from AUR (skipped) ✓ invoke with '-S' parameter installs cached AUR package ✓ invoke with '-S' parameter installs non-AUR package ✓ invoke with '-S' parameter fails to install nonexistant package ✓ prepare proot environment ✓ invoke with '-G' parameter download AUR package source ✓ invoke with '-G' parameter download old AUR package source 1) 0.7-2 with '-G' parameter choose download old AUR package source 18/22 2) 0.7-1 ✓ invoke with '-G' parameter choose download old AUR package source - invoke with '-S' parameter install package group (skipped) 1) noto-fonts '-S' parameter install virtual package 20/22 2) noto-fonts-extra 3) ttf-bitstream-vera 4) ttf-croscore 5) ttf-dejavu 6) ttf-freefont 7) ttf-linux-libertine 8) ttf-droid 9) ttf-liberation 10) ttf-ubuntu-font-family ✓ invoke with '-S' parameter install virtual package ✓ clean proot environment ✓ invoke with '-L' parameter lists installed packages by size 22 tests, 0 failures, 2 skipped
Let me know if there's anything you want to discuss
Addresses the following:
Resolves #63
.*
(example:apacman -S apacm.*
)Resolves #79
+
and@
symbols in packagesResolves #80
echo
to/dev/tty
to ensure it is visibleResolves #86
Additionally, this fixes some of the tests in
tests.bats
(including aproot
crash workaround) and skips testing non-existant "broken" package.I also made sure to run the tests.bats file against my changes before submitting the pull request:
Let me know if there's anything you want to discuss