-fixes
authorChristian Grothoff <christian@grothoff.org>
Wed, 6 Mar 2013 14:55:27 +0000 (14:55 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 6 Mar 2013 14:55:27 +0000 (14:55 +0000)
src/fs/fs_uri.c
src/fs/test_gnunet_fs_ns.py.in

index f3340ee5ed60c77baa27efbac962f6f833cf11e6..9d8691b769ab413739b3778d15049a274af9fcac 100644 (file)
@@ -949,6 +949,7 @@ GNUNET_FS_uri_sks_create (struct GNUNET_FS_Namespace *ns, const char *id,
     *emsg = GNUNET_strdup (_("identifier has zero length!"));
     return NULL;
   }
+  *emsg = NULL;
   ns_uri = GNUNET_malloc (sizeof (struct GNUNET_FS_Uri));
   ns_uri->type = GNUNET_FS_URI_SKS;
   GNUNET_FS_namespace_get_public_identifier (ns, &ns_uri->data.sks.ns);
index ff892b40f7e28ccb51736be734be02740f4d7509..6c16e55a102fe5c61813f1d355ef9970dc2854b3 100755 (executable)
@@ -67,10 +67,6 @@ try:
   s.expect ("stdout", re.compile (r'gnunet-download gnunet://fs/sks/.*/myroot\r?\n'))
   s.expect ("stdout", re.compile (r'\s*description: Free Software Licenses\r?\n'))
 
-  pseu = pexpect ()
-  pseu.spawn (None, [pseudonym, '-c', 'test_gnunet_fs_ns_data.conf'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
-  pseu.expect ("stdout", re.compile (r'Free Software Licenses.*:\r?\n'))
-
 finally:
   arm = subprocess.Popen ([gnunetarm, '-eq', '-c', 'test_gnunet_fs_ns_data.conf'])
   arm.communicate ()