[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r31508 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r31508 - gnunet/src/gns |
Date: |
Wed, 18 Dec 2013 10:36:21 +0100 |
Author: grothoff
Date: 2013-12-18 10:36:21 +0100 (Wed, 18 Dec 2013)
New Revision: 31508
Modified:
gnunet/src/gns/test_gns_cname_lookup.sh
gnunet/src/gns/test_gns_gns2dns_lookup.sh
gnunet/src/gns/test_gns_ipv6_lookup.sh
gnunet/src/gns/test_gns_nick_shorten.sh
gnunet/src/gns/test_gns_plus_lookup.sh
gnunet/src/gns/test_gns_rel_expiration.sh
gnunet/src/gns/test_gns_txt_lookup.sh
gnunet/src/gns/test_gns_zkey_lookup.sh
Log:
-pipe garbage to /dev/null
Modified: gnunet/src/gns/test_gns_cname_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_cname_lookup.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_cname_lookup.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -6,10 +6,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
Modified: gnunet/src/gns/test_gns_gns2dns_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_gns2dns_lookup.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_gns2dns_lookup.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -6,10 +6,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
Modified: gnunet/src/gns/test_gns_ipv6_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_ipv6_lookup.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_ipv6_lookup.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -6,10 +6,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
Modified: gnunet/src/gns/test_gns_nick_shorten.sh
===================================================================
--- gnunet/src/gns/test_gns_nick_shorten.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_nick_shorten.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -3,7 +3,7 @@
which timeout &> /dev/null && DO_TIMEOUT="timeout 5"
# This test tests shortening functionality based on NICK records:
-#
+#
# zone "delegatedego": Alice's zone
# zone "testego": Local zone with delegation to alice
@@ -12,10 +12,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
@@ -47,7 +47,7 @@
gnunet-namestore -z testego -i $TEST_NICK_EGO -c $TEST_CONFIG
gnunet-namestore -z delegatedego -i $TEST_NICK_DELEGATED -c $TEST_CONFIG
-# Adding label www in Alice's delegatedego zone
+# Adding label www in Alice's delegatedego zone
echo "Adding www record with IP $TEST_IP"
gnunet-namestore -p -z delegatedego -a -n www -t A -V $TEST_IP -e never -c
test_gns_nick_shorten.conf
@@ -94,12 +94,12 @@
else
echo "FAIL: Expected PKEY in $DELEGATED_PKEY, received PKEY $PKEY_SHORT_RES
in master zone."
RES=1
-fi
+fi
if [ $RES -eq 0 ]
then
- RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_NAME_SHORT -t
A -c test_gns_nick_shorten.conf`
- if [ "$RES_IP" == "$TEST_IP" ]
+ RES_IP=`$DO_TIMEOUT gnunet-gns --raw -z testego -u $TEST_NAME_SHORT -t
A -c test_gns_nick_shorten.conf`
+ if [ "$RES_IP" == "$TEST_IP" ]
then
echo "PASS: Received $TEST_IP for $TEST_NAME_SHORT"
else
Modified: gnunet/src/gns/test_gns_plus_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_plus_lookup.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_plus_lookup.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -6,10 +6,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
Modified: gnunet/src/gns/test_gns_rel_expiration.sh
===================================================================
--- gnunet/src/gns/test_gns_rel_expiration.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_rel_expiration.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -6,10 +6,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
Modified: gnunet/src/gns/test_gns_txt_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_txt_lookup.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_txt_lookup.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -6,10 +6,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
Modified: gnunet/src/gns/test_gns_zkey_lookup.sh
===================================================================
--- gnunet/src/gns/test_gns_zkey_lookup.sh 2013-12-18 09:33:36 UTC (rev
31507)
+++ gnunet/src/gns/test_gns_zkey_lookup.sh 2013-12-18 09:36:21 UTC (rev
31508)
@@ -7,10 +7,10 @@
then
LOCATION="gnunet-config"
fi
-$LOCATION --version
+$LOCATION --version &> /dev/null
if test $? != 0
then
- echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
+ echo "GNUnet command line tools cannot be found, check environmental
variables PATH and GNUNET_PREFIX"
exit 77
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r31508 - gnunet/src/gns,
gnunet <=