23c30ed104337fe8edb66292dfe6737f137421f9
[sbcl.git] / tests / room.test.sh
1 #!/bin/sh
2
3 # testing ROOM in a fresh SBCL.
4
5 # This software is part of the SBCL system. See the README file for
6 # more information.
7 #
8 # While most of SBCL is derived from the CMU CL system, the test
9 # files (like this one) were written from scratch after the fork
10 # from CMU CL.
11 #
12 # This software is in the public domain and is provided with
13 # absolutely no warranty. See the COPYING and CREDITS files for
14 # more information.
15
16 echo //entering room.test.sh
17
18 ${SBCL:-sbcl} --eval "(progn (dotimes (i 10) (dotimes (j 10) (room)) (gc)) (sb-ext:quit :unix-status 52))"
19 if [ $? = 52 ]; then
20     true # nop
21 else
22     exit 1
23 fi
24
25 # success convention for script
26 exit 104