From 8becc1442dcaae1c4f408f5c8059f047b48f62f6 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Thu, 15 Aug 2024 16:02:46 +0200 Subject: [PATCH] move all config files to etc subdirectories --- lib/auth/test/{ => etc}/config.lisp | 2 +- lib/auth/test/test-auth.lisp | 2 +- test/{ => etc}/config-postgres.lisp | 0 test/{ => etc}/config-sqlite.lisp | 0 test/test-storage.lisp | 4 ++-- 5 files changed, 4 insertions(+), 4 deletions(-) rename lib/auth/test/{ => etc}/config.lisp (95%) rename test/{ => etc}/config-postgres.lisp (100%) rename test/{ => etc}/config-sqlite.lisp (100%) diff --git a/lib/auth/test/config.lisp b/lib/auth/test/etc/config.lisp similarity index 95% rename from lib/auth/test/config.lisp rename to lib/auth/test/etc/config.lisp index 7c81456..0905a34 100644 --- a/lib/auth/test/config.lisp +++ b/lib/auth/test/etc/config.lisp @@ -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) diff --git a/lib/auth/test/test-auth.lisp b/lib/auth/test/test-auth.lisp index 2b04d85..3cca97f 100644 --- a/lib/auth/test/test-auth.lisp +++ b/lib/auth/test/test-auth.lisp @@ -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) diff --git a/test/config-postgres.lisp b/test/etc/config-postgres.lisp similarity index 100% rename from test/config-postgres.lisp rename to test/etc/config-postgres.lisp diff --git a/test/config-sqlite.lisp b/test/etc/config-sqlite.lisp similarity index 100% rename from test/config-sqlite.lisp rename to test/etc/config-sqlite.lisp diff --git a/test/test-storage.lisp b/test/test-storage.lisp index c78151d..a0f2ba7 100644 --- a/test/test-storage.lisp +++ b/test/test-storage.lisp @@ -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)))