test: a program built on a shared library starts

SharedLibraryRuns builds an executable on a LibraryDynamic dependency
and runs it, from its fixture and again from a directory whose name
holds a comma. Before the fix it failed at start with "libgreet.so:
cannot open shared object file".
This commit is contained in:
Jorijn van der Graaf 2026-11-01 19:24:02 +01:00
commit 0cf2f629eb
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
4 changed files with 138 additions and 0 deletions

View file

@ -0,0 +1,10 @@
// SPDX-License-Identifier: LGPL-3.0-only
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
import std;
import Greet;
int main() {
std::println("{}", Greeting());
return 0;
}