aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_plugin_namestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_plugin_namestore.c')
-rw-r--r--src/namestore/test_plugin_namestore.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/namestore/test_plugin_namestore.c b/src/namestore/test_plugin_namestore.c
index b9c7fbef9..9c978749f 100644
--- a/src/namestore/test_plugin_namestore.c
+++ b/src/namestore/test_plugin_namestore.c
@@ -11,7 +11,7 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
@@ -107,7 +107,8 @@ test_record (void *cls,
107 GNUNET_snprintf (tname, 107 GNUNET_snprintf (tname,
108 sizeof (tname), 108 sizeof (tname),
109 "a%u", 109 "a%u",
110 (unsigned int ) id); 110 (unsigned int) id);
111 GNUNET_assert (trd_count == rd_count);
111 for (unsigned int i=0;i<trd_count;i++) 112 for (unsigned int i=0;i<trd_count;i++)
112 { 113 {
113 GNUNET_assert (rd[i].data_size == id % 10); 114 GNUNET_assert (rd[i].data_size == id % 10);
@@ -198,7 +199,7 @@ int
198main (int argc, 199main (int argc,
199 char *argv[]) 200 char *argv[])
200{ 201{
201 char cfg_name[128]; 202 char cfg_name[PATH_MAX];
202 char *const xargv[] = { 203 char *const xargv[] = {
203 "test-plugin-namestore", 204 "test-plugin-namestore",
204 "-c", 205 "-c",