;;;; -*- coding: utf-8; fill-column: 78 -*-
changes relative to sbcl-1.0.47:
+ * bug fix: better support for Solaris /bin/sh in sh-based tests.
* enhancement: read() and write() have been added to SB-POSIX.
* enhancement: types of DEFSTRUCT constructors are proclaimed more
accurately, allowing better typechecking of call-sites.
#-(and (or ppc x86 x86-64) darwin)
(with-test (:name (trace-recursive :encapsulate nil)
- :fails-on '(or (and :ppc (not :linux)) :sparc :mips))
+ :fails-on '(or (and :ppc (not :linux)) :sparc :mips :sunos))
(let ((out (with-output-to-string (*trace-output*)
(trace trace-fact :encapsulate nil)
(assert (= 120 (trace-fact 5)))
--eval '(sb-ext:delete-directory "deep" :recursive t)' \
--eval '(sb-ext:quit)'
-test -e simple_test_subdir1
+test -d simple_test_subdir1
check_status_maybe_lose "delete-directory 1" $? \
1 "deleted"
-test -e simple_test_subdir2
+test -d simple_test_subdir2
check_status_maybe_lose "delete-directory 2" $? \
1 "deleted"
-test -e deep
+test -d deep
check_status_maybe_lose "delete-directory 3" $? \
1 "deleted"
-test -e dont_delete_me
+test -d dont_delete_me
check_status_maybe_lose "delete-directory 4" $? \
0 "didn't follow link"
-test -e me_neither
+test -f me_neither
check_status_maybe_lose "delete-directory 5" $? \
0 "didn't follow link"
platform="${SBCL_SOFTWARE_TYPE}-${SBCL_MACHINE_TYPE}"
-case "$platform" in
- SunOS-*) CC=gcc ;;
- *) CC=cc ;;
-esac
+if [ -z "$CC" ]
+then
+ CC=cc
+fi
args=
case "$platform" in
Darwin-X86-64) args="-arch x86_64" ;;
+ SunOS-X86-64) args=-m64 ;;
esac
case "$platform" in
EOF
run_sbcl --disable-debugger --load $tmpfilename > $tmpfilename.out
check_status_maybe_lose bivalent-standard-output $?
-test_output=$(cat $tmpfilename.out)
+test_output=`cat $tmpfilename.out`
rm -f $tmpfilename.out
if [ 'Bivalent *STANDARD-OUTPUT*' != "$test_output" ]; then
echo "bad test output: '$test_output'"
EOF
run_sbcl --disable-debugger --load $tmpfilename 2> $tmpfilename.out
check_status_maybe_lose bivalent-error-output $?
-test_output=$(cat $tmpfilename.out)
+test_output=`cat $tmpfilename.out`
rm -f $tmpfilename.out
if [ 'Bivalent *ERROR-OUTPUT*' != "$test_output" ]; then
echo "bad test output: '$test_output'"
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.47.9"
+"1.0.47.10"