fix #4546
[oweals/gnunet.git] / src / peerinfo-tool / test_gnunet_peerinfo.py.in
index 97fb5dfa5aad9b729e46264540569b52fc02d58d..a0af9eff33a1b2ba1d93d157a85c06a7b12c00fc 100755 (executable)
@@ -14,8 +14,8 @@
 #
 #    You should have received a copy of the GNU General Public License
 #    along with GNUnet; see the file COPYING.  If not, write to the
-#    Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-#    Boston, MA 02111-1307, USA.
+#    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+#    Boston, MA 02110-1301, USA.
 #
 # Testcase for gnunet-peerinfo
 import sys
@@ -53,7 +53,7 @@ else:
   shutil.rmtree ("/tmp/gnunet-test-peerinfo", True)
 
 # create hostkey via testing lib
-hkk = subprocess.Popen ([gnunettesting, '-n 1', '-k', '/tmp/gnunet-test-peerinfo/.hostkey'])
+hkk = subprocess.Popen ([gnunettesting, '-n', '1', '-c', 'test_gnunet_peerinfo_data.conf', '-k', '/tmp/gnunet-test-peerinfo/.hostkey'])
 hkk.communicate ()
 
 arm = subprocess.Popen ([gnunetarm, '-sq', '-c', 'test_gnunet_peerinfo_data.conf'])
@@ -96,4 +96,3 @@ finally:
     shutil.rmtree (os.path.join (os.getenv ("TEMP"), "gnunet-test-peerinfo"), True)
   else:
     shutil.rmtree ("/tmp/gnunet-test-peerinfo", True)
-