Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SQLite3 loading issue on ubuntu-24.04 runner #11455

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add test cases for SQLite3 loading in Databases.Tests.ps1
* **SQLite3 CLI**
  - Verify that `sqlite3 --version` returns zero exit code
* **SQLite3 Library Loading**
  - Check if `/usr/lib/x86_64-linux-gnu/libsqlite3.so` exists
  - Ensure `ldd /usr/lib/x86_64-linux-gnu/libsqlite3.so` does not output "not found"
  • Loading branch information
Setland34 committed Jan 23, 2025
commit fde1f03e29ce3320365caae218954cb30281e445
5 changes: 3 additions & 2 deletions images/ubuntu/scripts/tests/Databases.Tests.ps1
Original file line number Diff line number Diff line change
@@ -44,7 +44,8 @@ Describe "SQLite3" {
}

It "SQLite3 Library Loading" {
$dllPath = "/usr/lib/x86_64-linux-gnu/libsqlite3.so"
Test-Path $dllPath | Should -Be $true
$sqlite3LibPath = "/usr/lib/x86_64-linux-gnu/libsqlite3.so"
$sqlite3LibPath | Should -Exist
"ldd $sqlite3LibPath" | Should -Not -OutputTextMatchingRegex "not found"
}
}
Loading