racket/collects/tests/pkg/tests-config.rkt
Matthew Flatt fc54bbba3c pkg: "module name resolver" and "index" -> "catalog"
This termonology change affects lots of function names from `pkg/lib'
and `pkg/db' (former `pkg/pnr-db'), and it also affects some `raco
pkg' commands.

Existing package installations that are marked as 'pnr in a
local configuration are converted automatically to 'catalog, but any
existing "indexes" configuration must be changed to "catalogs".
2013-04-23 08:38:07 -06:00

12 lines
380 B
Racket

#lang racket/base
(require "shelly.rkt"
"util.rkt")
(pkg-tests
(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 --set catalogs http://localhost:9000"
$ "raco pkg config catalogs" =stdout> "http://localhost:9000\n")))