mirror of
https://github.com/glauth/glauth.git
synced 2026-10-24 13:13:02 +00:00
d93386123f
TestSQLitePlugin has never run. It stats a flat bin/sqlite.so, which no build target produces (make plugin_sqlite writes bin/linuxamd64/sqlite.so, xgo writes bin/sqlite-linux-amd64.so), so it always took the skip branch. Even past that it needs a seeded database, and nothing in the repo seeds one. seedplugindb stages the plugin at the path the test and sample-database.cfg both expect, then starts glauth once so the plugin's CreateSchema builds the tables before inserting rows. Taking the schema from the plugin rather than duplicating its DDL here keeps the two from drifting. Guarded on bin/sqlite-linux-amd64.so existing, so CI - which never builds plugins - still skips the test exactly as before. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014L5EoqGWsuZWr8fCVM6izP