summaryrefslogtreecommitdiff
path: root/test/add
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-07-11 01:17:18 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-07-11 01:21:48 +0200
commit324568044af4287dd25a90dc143ea26df565d1e3 (patch)
tree0bcf9ff698d825c50a72d85c02560d88782e1915 /test/add
parent389bd0bcb530fee9c92ed9c419d82303a322274d (diff)
Renamed pkg to caretaker
Diffstat (limited to 'test/add')
-rw-r--r--test/add18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/add b/test/add
index f319813..8094c2b 100644
--- a/test/add
+++ b/test/add
@@ -1,11 +1,11 @@
## vim:ft=zsh
-echo "# pkg add (ok)"
-pkg add $repo
+echo "# ct add (ok)"
+ct add $repo
[[ -e $test_pdir/$repo/foo ]]
[[ -d $test_pdir/$repo/.git ]]
-echo "# pkg add (already installed)"
-! pkg add $repo
+echo "# ct add (already installed)"
+! ct add $repo
echo "# populate_collected"
[[ -L $test_home/bin/$file ]]
@@ -13,9 +13,9 @@ echo "# populate_collected"
[[ -e $test_pdir/.collected/man/man2/$file.2 ]]
repeat 2 {
- echo "# pkg list"
- stringcmp "pkg\n$repo" "$(pkg list local)"
- stringcmp "$complement\nrb\nrb-bare\nrc\nrc-bare" "$(pkg list not-installed)"
- stringcmp "pkg\nra\nra-bare\nrb\nrb-bare\nrc\nrc-bare" "$(pkg list remote)"
- pkg update
+ echo "# ct list"
+ stringcmp "caretaker\n$repo" "$(ct list local)"
+ stringcmp "$complement\nrb\nrb-bare\nrc\nrc-bare" "$(ct list not-installed)"
+ stringcmp "caretaker\nra\nra-bare\nrb\nrb-bare\nrc\nrc-bare" "$(ct list remote)"
+ ct update
}