racket/collects/tests/planet2/tests-config.rkt
Jay McCarthy fae660b0e4 Release Planet 2 (beta)
This was developed in a different repository, so the history will be
archived there:

https://github.com/jeapostrophe/galaxy
2012-11-08 06:16:42 -07:00

12 lines
369 B
Racket

#lang racket/base
(require "shelly.rkt"
"util.rkt")
(pkg-tests
(with-fake-root
(shelly-case
"reading and writing configs"
$ "raco pkg config indexes" =stdout> "https://plt-etc.byu.edu:9004\nhttps://plt-etc.byu.edu:9003\n"
$ "raco pkg config --set indexes http://localhost:9000"
$ "raco pkg config indexes" =stdout> "http://localhost:9000\n")))