fix some pkg tests

This commit is contained in:
Matthew Flatt 2013-10-13 09:17:48 -06:00
parent ae57ce9377
commit 8b99d87e95
3 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@
(with-fake-root
(shelly-case
"reading and writing configs"
$ "raco pkg config catalogs" =stdout> "https://pkg.racket-lang.org\nhttps://planet-compat.racket-lang.org\n"
$ "raco pkg config catalogs" =stdout> "http://pkgs.racket-lang.org\nhttp://planet-compats.racket-lang.org\n"
$ "raco pkg config -u --set catalogs http://localhost:9000"
$ "raco pkg config -u catalogs" =stdout> "http://localhost:9000\n"

View File

@ -45,6 +45,8 @@
(shelly-create "pkg-test3" "zip")
(shelly-create "pkg-test3-v2" "zip")
(shelly-create "pkg-test3-v3" "zip")
(shelly-create "pkg-b-second" "plt")
(shelly-create "pkg-a-first" "plt")
$ "raco pkg create --format txt test-pkgs/pkg-test1" =exit> 1

View File

@ -5,11 +5,6 @@
"util.rkt")
(pkg-tests
(shelly-case
"migrate packages"
$ "raco pkg create --format plt test-pkgs/pkg-b-second"
$ "raco pkg create --format plt test-pkgs/pkg-a-first")
(with-fake-root
(shelly-case
"install package, copy to other, remove, then migrate"