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:
parent
bc98c87f01
commit
0cf2f629eb
4 changed files with 138 additions and 0 deletions
9
tests/SharedLibraryRuns/fixture/greet/Greet.cppm
Normal file
9
tests/SharedLibraryRuns/fixture/greet/Greet.cppm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// SPDX-License-Identifier: LGPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
export module Greet;
|
||||
import std;
|
||||
|
||||
export std::string Greeting() {
|
||||
return "hello from a shared library";
|
||||
}
|
||||
Loading…
Reference in a new issue