fix some pkg tests
This commit is contained in:
parent
ae57ce9377
commit
8b99d87e95
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user