#!/bin/sh
-armexe="gnunet-arm -c test_dht_api_peer1.conf "
-putexe="gnunet-dht-put -c test_dht_api_peer1.conf "
-getexe="gnunet-dht-get -c test_dht_api_peer1.conf "
out=`mktemp /tmp/test-gnunet-arm-logXXXXXXXX`
+tempcfg=`mktemp /tmp/test_dht_api_peer1.XXXXXXXX`
checkout="check.out"
+armexe="gnunet-arm -c $tempcfg "
+putexe="gnunet-dht-put -c $tempcfg "
+getexe="gnunet-dht-get -c $tempcfg "
stop_arm()
{
fi
}
+cp test_dht_api_peer1.conf $tempcfg
+
echo -n "TEST: Starting ARM..."
if ! $armexe $DEBUG -s > $out ; then
echo "FAIL: error running $armexe"