- fixes, intendation
[oweals/gnunet.git] / src / gns / test_gns_nick_shorten.sh
index fef80b4d00e48a8ddb9c84fa01761e049bb3147b..df69bbba92edcc7b372bef8e18b61a3a80b262f4 100755 (executable)
@@ -12,7 +12,7 @@ if [ -z $LOCATION ]
 then
   LOCATION="gnunet-config"
 fi
-$LOCATION --version &> /dev/null
+$LOCATION --version 1> /dev/null
 if test $? != 0
 then
        echo "GNUnet command line tools cannot be found, check environmental variables PATH and GNUNET_PREFIX"
@@ -21,7 +21,7 @@ fi
 
 # Deleting home directory from previous runs
 TEST_CONFIG="test_gns_nick_shorten.conf "
-rm -rf `gnunet-config -c test_gns_nick_shorten.conf -s PATHS -o GNUNET_HOME -f`
+rm -rf /tmp/test-gnunet-gns-peer-1/
 TEST_IP="127.0.0.1"
 TEST_IP="127.0.0.2"
 TEST_NICK_EGO="ego"
@@ -118,7 +118,7 @@ gnunet-identity -D -z delegatedego -c $TEST_CONFIG
 gnunet-identity -D -z short-zone -c $TEST_CONFIG
 
 gnunet-arm -e -c test_gns_nick_shorten.conf
-rm -rf `gnunet-config -c test_gns_nick_shorten.conf -s PATHS -o GNUNET_HOME -f`
+rm -rf /tmp/test-gnunet-gns-peer-1/
 
 exit $RES