blob: fea57742062967aa092549e569e1809ec315fcee [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001Remove the relative path for libnettle.so so the test
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002program can find it.
3Relative paths are not suitable, as the folder strucure for ptest
4is different from the one expected by the nettle testsuite.
5
6Upstream-Status: Inappropriate [embedded specific]
7
8Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Brad Bishopc342db32019-05-15 21:57:59 -04009Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010
11--- a/testsuite/dlopen-test.c 2016-10-01 00:28:38.000000000 -0700
12+++ b/testsuite/dlopen-test.c 2017-10-13 11:08:57.227572860 -0700
13@@ -9,7 +9,7 @@
14 main (int argc UNUSED, char **argv UNUSED)
15 {
16 #if HAVE_LIBDL
17- void *handle = dlopen ("../libnettle.so", RTLD_NOW);
Brad Bishopc342db32019-05-15 21:57:59 -040018+ void *handle = dlopen ("libnettle.so", RTLD_NOW);
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019 int (*get_version)(void);
20 if (!handle)
21 {