[functional-tests] start a trivial (disk-units) library

This commit is contained in:
Joe Thornber 2017-08-25 11:25:37 +01:00
parent ccd89d32da
commit 78cb2570a3
2 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1,6 @@
(library
(disk-units)
(export meg)
(import (rnrs))
(define (meg n) (* 1024 1024 n)))

View File

@ -5,6 +5,7 @@
(import
(chezscheme)
(disk-units)
(fmt fmt)
(functional-tests)
(process)
@ -20,10 +21,6 @@
(define-tool thin-restore)
(define-tool thin-rmap)
;; FIXME: start a disk units library
(define (meg n)
(* 1024 1024 n))
(define-syntax with-thin-xml
(syntax-rules ()
((_ (v) b1 b2 ...)