~ruther/guix-local

ref: f1fc45a9fd168f3b44f03112815bda83d2c6f3ed guix-local/tests/guix-system.sh -rw-r--r-- 1.2 KiB
c1202fb1 — Ludovic Courtès 11 years ago
guix {system,offload}: Improve reporting of syntax errors.

* guix/scripts/system.scm (read-operating-system) <catch handler>: Add
  case for 'syntax-error'.  Correct message for default case.
* guix/scripts/offload.scm (build-machines) <catch handler>: Add case
  for 'syntax-error'.
* tests/guix-system.sh: New file.
* Makefile.am (SH_TESTS): Add it.