X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=tests%2Ftest-init.lisp;h=d78e64ae978c4cdbf8359e83c2b43a46b32028b1;hb=2f185bf0167aa5a0be8e82a0c1ee961ca28f1426;hp=35b08e2f6ddc7765c81f86e625c28f7bcc892bf4;hpb=155c60b5195d618ef93541699694d57a21be3246;p=clsql.git diff --git a/tests/test-init.lisp b/tests/test-init.lisp index 35b08e2..d78e64a 100644 --- a/tests/test-init.lisp +++ b/tests/test-init.lisp @@ -182,8 +182,10 @@ (ignore-errors (create-database spec :database-type db-type))) (setf *test-database-type* db-type) - (when (>= (length spec) 3) - (setq *test-database-user* (third spec))) + (setf *test-database-user* + (cond + ((eq :oracle db-type) (second spec)) + ((>= (length spec) 3) (third spec)))) ;; Connect to the database (clsql:connect spec @@ -468,7 +470,7 @@ *** CLSQL ~A begun at ~A *** ~A *** ~A on ~A -*** Database ~A backend~A. +*** Database ~:@(~A~) backend~A. ****************************************************************************** " report-type