~ chicken-core (chicken-5) /tests/private-repository-test.scm
Trap1;;;; private-repository-test.scm234(import (chicken pathname)5 (chicken platform)6 (chicken process-context)7 (chicken file)8 (chicken file posix))910(define read-symbolic-link*11 (cond-expand12 ((and windows (not cygwin)) (lambda (filename _) filename))13 (else read-symbolic-link)))1415(define repo (normalize-pathname (read-symbolic-link* (car (repository-path)) #t)))16(define dir (normalize-pathname (read-symbolic-link* (car (command-line-arguments)) #t)))1718(print (list dir repo))1920(assert (string=? repo dir))21