diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-04-08 10:47:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-04-08 10:47:29 +0000 |
commit | b4f7eb40931a09d9f52043509e75ede08e08004f (patch) | |
tree | b0b94cab9814226d2fd8d6a222520c951673ba16 /contrib/test_gnunet_prefix.c | |
parent | 20099c019d0006248bd755687f740210d1111b2d (diff) | |
download | gnunet-b4f7eb40931a09d9f52043509e75ede08e08004f.tar.gz gnunet-b4f7eb40931a09d9f52043509e75ede08e08004f.zip |
-fix test as prefix likely now has lib/ suffix
Diffstat (limited to 'contrib/test_gnunet_prefix.c')
-rw-r--r-- | contrib/test_gnunet_prefix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/test_gnunet_prefix.c b/contrib/test_gnunet_prefix.c index 9d0272050..ddb432138 100644 --- a/contrib/test_gnunet_prefix.c +++ b/contrib/test_gnunet_prefix.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | (C) 2011 Christian Grothoff (and other contributing authors) | 3 | (C) 2011, 2014 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -43,7 +43,7 @@ main (int argc, | |||
43 | _("Testcases will not work!\n")); | 43 | _("Testcases will not work!\n")); |
44 | return 1; | 44 | return 1; |
45 | } | 45 | } |
46 | dirname = DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR "config.d"; | 46 | dirname = DIR_SEPARATOR_STR ".." DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR "config.d"; |
47 | { | 47 | { |
48 | char tmp[strlen (basename) + strlen (dirname) + 1]; | 48 | char tmp[strlen (basename) + strlen (dirname) + 1]; |
49 | sprintf (tmp, "%s%s", basename, dirname); | 49 | sprintf (tmp, "%s%s", basename, dirname); |