tests: better reports when /bin/ed is not present.
authorStas Boukarev <stassats@gmail.com>
Fri, 1 Nov 2013 12:34:27 +0000 (16:34 +0400)
committerStas Boukarev <stassats@gmail.com>
Fri, 1 Nov 2013 12:34:27 +0000 (16:34 +0400)
commitc0f9314af1b6f7aa67e6c5db523d6ddef735986c
tree35dbb67be0a0492699f6bc1c17bbd9419de7c916
parent5728601f88c400d2992b6b8c70d8971d07de9029
tests: better reports when /bin/ed is not present.

When /bin/ed is not present the test failed with a confusing "unhandled
error".
* Wrap the whole run-program-ed test into with-test, renaming it to run-program-/bin/ed.
* Add before it a test named :is-/bin/ed-installed?.

Making the report more self-describing:
 Failure:            run-program.impure.lisp / IS-/BIN/ED-INSTALLED?
 Failure:            run-program.impure.lisp / RUN-PROGRAM-/BIN/ED
tests/run-program.impure.lisp
tests/run-tests.lisp