Commit 61ee60d
committed
sqlc-test-setup: accept a successful mssql-conf setup without stat-ing its conf
On a GitHub runner the tool runs as an unprivileged user, and
/var/opt/mssql is readable by the mssql user only, so stat-ing
/var/opt/mssql/mssql.conf failed with permission denied even though
setup had completed. Treat a successful setup as installed, and when
setup fails check for the configuration through sudo before deciding
whether the failure was only the service start.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT1 parent 4b58b94 commit 61ee60d
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 97 | + | |
| 98 | + | |
102 | 99 | | |
103 | | - | |
104 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
105 | 104 | | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments