summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/ld_library_path/ld_library_path_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/ld_library_path/ld_library_path_test.cpp')
-rw-r--r--searchlib/src/tests/ld_library_path/ld_library_path_test.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/searchlib/src/tests/ld_library_path/ld_library_path_test.cpp b/searchlib/src/tests/ld_library_path/ld_library_path_test.cpp
new file mode 100644
index 00000000000..2f19110c6fe
--- /dev/null
+++ b/searchlib/src/tests/ld_library_path/ld_library_path_test.cpp
@@ -0,0 +1,11 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+#include <vespa/log/log.h>
+LOG_SETUP("");
+
+int
+main(int, char **)
+{
+ LOG(info, "LD_LIBRARY_PATH='%s'", getenv("LD_LIBRARY_PATH"));
+ return 0;
+}