tests: fix typo in trap-fpe smoke test

Due to the typo, all floating point exceptions were enabled after the
test had run. This leads to failures in other tests for instance due
to floating-point-inexact errors. Now, the exception flags are
correctly restored again after the test is finished.
This commit is contained in:
Marius Gerbershagen 2022-08-13 20:05:08 +02:00
parent b3d1a3e343
commit 3bf98a96e0

View file

@ -795,7 +795,7 @@ Common Lisp type contagion rules."
(test ieee-fp.0033.trap-fpe-smoke-test
(let ((bits (si:trap-fpe 'cl:last t)))
(unwind-protect
(dolist (flag '(t nil t))
(dolist (flag '(t nil))
(finishes (si:trap-fpe t flag))
(finishes (si:trap-fpe bits flag))
(finishes (si:trap-fpe 'last flag))