X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Frun-program.impure.lisp;h=9ef07e5014abdbaa82fc295c882f64acf74484a0;hb=c0578d9893429c9c0da80ea5920360e4621fddab;hp=0200e144549a9beba612daacf1e04dcae85eb83d;hpb=0e5d338cec4e90475ea88f6892c24c62a07ae579;p=sbcl.git diff --git a/tests/run-program.impure.lisp b/tests/run-program.impure.lisp index 0200e14..9ef07e5 100644 --- a/tests/run-program.impure.lisp +++ b/tests/run-program.impure.lisp @@ -120,3 +120,18 @@ :search t :wait t))) (when file (delete-file file)))) + +;;; This used to crash on Darwin and trigger recursive lock errors on +;;; every platform. +(with-test (:name (:run-program :stress)) + ;; Do it a hundred times in batches of 10 so that with a low limit + ;; of the number of processes the test can have a chance to pass. + (loop + repeat 10 do + (map nil + #'sb-ext:process-wait + (loop repeat 10 + collect + (sb-ext:run-program "/bin/echo" ' + ("It would be nice if this didn't crash.") + :wait nil :output nil)))))