File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -167,23 +167,23 @@ This is useful when we need to test the exact output."
167
167
(close s)
168
168
; ; Work around file-write-date only having second precision.
169
169
(sleep 2 )
170
- (let ((output ($cmd *self* p)))
170
+ (let ((output (kiln-exact-output p)))
171
171
(is (string^= " Hello" output))
172
- (is (equal output ($cmd *self* p)))
172
+ (is (equal output (kiln-exact-output p)))
173
173
(cmd " touch" p)
174
- (is (not (equal output ($cmd *self* p)))))))
174
+ (is (not (equal output (kiln-exact-output p)))))))
175
175
176
176
(5am :test exec-no-unwind
177
- (let ((script (asdf :system-relative-pathname :kiln " test/test-exec.lisp" ) ))
178
- ( let (( result ($cmd " kiln" script)))
179
- (is (equal (fmt " Before exec~% exec happened" )
180
- result) ))))
177
+ (let* ((script (asdf :system-relative-pathname :kiln " test/test-exec.lisp" ))
178
+ ( result (kiln-exact-output script)))
179
+ (is (equal (fmt " Before exec~% exec happened" )
180
+ result))))
181
181
182
182
(5am :test exec-unwind
183
- (let ((script (asdf :system-relative-pathname :kiln " test/test-exec.lisp" ) ))
184
- ( let (( result ($cmd " kiln" script " unwind" )))
185
- (is (equal (fmt " Before exec~% Unwinding happened~% exec happened" )
186
- result) ))))
183
+ (let* ((script (asdf :system-relative-pathname :kiln " test/test-exec.lisp" ))
184
+ ( result (kiln-exact-output script " unwind" )))
185
+ (is (equal (fmt " Before exec~% Unwinding happened~% exec happened" )
186
+ result))))
187
187
188
188
(defun main (args)
189
189
(destructuring-bind (&optional (test ' test)) args
You can’t perform that action at this time.
0 commit comments