/usr/share/doc/cl-asdf/examples/test-compile-file-failure.script is in cl-asdf 2:3.1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ;;; -*- Lisp -*-
(def-test-system test-compile-file-failure
:components ((:file "test-compile-file-failure")))
(assert (handler-case
(let ((*compile-file-failure-behaviour* :warn))
(load-system 'test-compile-file-failure :force t)
t)
(compile-file-error () nil)))
(with-expected-failure (#+gcl "GCL failure to report compile-file error")
(assert (handler-case
(let ((*compile-file-failure-behaviour* :error))
(load-system 'test-compile-file-failure :force t)
nil)
(compile-file-error () t))))
|