move all config files to etc subdirectories

This commit is contained in:
Helmut Merz 2024-08-15 16:02:46 +02:00
parent fc23b47259
commit 8becc1442d
5 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
;;;; cl-scopes/lib/auth/test/config
;;;; use: `(let ((t:*current-system* :scopes-auth) ...)
;;;; `(load (t:test-path "config" "")))`
;;;; `(load (t:test-path "config" "etc")))`
;;;; from scopes-auth/test
(in-package :scopes-auth/test)

View file

@ -20,7 +20,7 @@
(defun run ()
(let ((t:*current-system* :scopes-auth)
(t:*test-suite* (t:test-suite "auth")))
(load (t:test-path "config" ""))
(load (t:test-path "config" "etc"))
(unwind-protect
(progn
(core:setup-services)

View file

@ -26,12 +26,12 @@
(run-postgres))
(defun run-sqlite ()
(load (t:test-path "config-sqlite"))
(load (t:test-path "config-sqlite" "etc"))
(let ((t:*test-suite* (t:test-suite "sqlite")))
(run)))
(defun run-postgres ()
(load (t:test-path "config-postgres"))
(load (t:test-path "config-postgres" "etc"))
(let ((t:*test-suite* (t:test-suite "postgres")))
(run)))