blob: c22a4f3376852f9ab439c9e83c06c3b0dae590a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
## vim:ft=zsh
echo "# pkg remove (not installed/nonexistent)"
! pkg remove suckage
! pkg remove rb
echo "# pkg remove (ok)"
pkg remove $repo
echo "# genocide_collected (~/bin)"
[[ ! -L $test_home/bin/$file ]]
[[ ! -e $test_pdir/.collected/man/man2/$file.2 ]]
repeat 2 {
echo "# pkg list"
stringcmp "core" "$(pkg list local)"
stringcmp "ra\nra-bare\nrb\nrb-bare\nrc\nrc-bare" "$(pkg list not-installed)"
stringcmp "core\nra\nra-bare\nrb\nrb-bare\nrc\nrc-bare" "$(pkg list remote)"
pkg update
}
|