summaryrefslogtreecommitdiff
path: root/contrib/test_gnunet_prefix.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-04-08 10:47:29 +0000
committerChristian Grothoff <christian@grothoff.org>2014-04-08 10:47:29 +0000
commitb4f7eb40931a09d9f52043509e75ede08e08004f (patch)
treeb0b94cab9814226d2fd8d6a222520c951673ba16 /contrib/test_gnunet_prefix.c
parent20099c019d0006248bd755687f740210d1111b2d (diff)
-fix test as prefix likely now has lib/ suffix
Diffstat (limited to 'contrib/test_gnunet_prefix.c')
-rw-r--r--contrib/test_gnunet_prefix.c4
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 @@
/*
This file is part of GNUnet
- (C) 2011 Christian Grothoff (and other contributing authors)
+ (C) 2011, 2014 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -43,7 +43,7 @@ main (int argc,
_("Testcases will not work!\n"));
return 1;
}
- dirname = DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR "config.d";
+ dirname = DIR_SEPARATOR_STR ".." DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR "config.d";
{
char tmp[strlen (basename) + strlen (dirname) + 1];
sprintf (tmp, "%s%s", basename, dirname);