Add test for "base" version.

This commit is contained in:
Sam Tobin-Hochstadt 2015-03-20 11:55:45 -04:00
parent f250c08ee5
commit 785fb57dc1

View File

@ -3,7 +3,7 @@
(Section 'version)
(require version/utils)
(require version/utils pkg/lib setup/getinfo)
;; sanity check
(unless (and (< (string->number (car (regexp-match #rx"^[0-9]+" (version)))) 49)
@ -63,4 +63,6 @@
["00" #f]
))
(test (version) (get-info/full (pkg-directory "base")) 'version)
(report-errs)