From 683ac9db63e03aa51f15c0854515fcfa487dc686 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 18 Dec 2013 09:36:21 +0000 Subject: -pipe garbage to /dev/null --- src/gns/test_gns_cname_lookup.sh | 4 ++-- src/gns/test_gns_gns2dns_lookup.sh | 4 ++-- src/gns/test_gns_ipv6_lookup.sh | 4 ++-- src/gns/test_gns_nick_shorten.sh | 14 +++++++------- src/gns/test_gns_plus_lookup.sh | 4 ++-- src/gns/test_gns_rel_expiration.sh | 4 ++-- src/gns/test_gns_txt_lookup.sh | 4 ++-- src/gns/test_gns_zkey_lookup.sh | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/gns/test_gns_cname_lookup.sh b/src/gns/test_gns_cname_lookup.sh index cbd50cdeb..538861c0e 100755 --- a/src/gns/test_gns_cname_lookup.sh +++ b/src/gns/test_gns_cname_lookup.sh @@ -6,10 +6,10 @@ if [ -z $LOCATION ] 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 diff --git a/src/gns/test_gns_gns2dns_lookup.sh b/src/gns/test_gns_gns2dns_lookup.sh index 8f3341b07..34ec1dc83 100755 --- a/src/gns/test_gns_gns2dns_lookup.sh +++ b/src/gns/test_gns_gns2dns_lookup.sh @@ -6,10 +6,10 @@ if [ -z $LOCATION ] 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 diff --git a/src/gns/test_gns_ipv6_lookup.sh b/src/gns/test_gns_ipv6_lookup.sh index ffee8409e..71b7585b3 100755 --- a/src/gns/test_gns_ipv6_lookup.sh +++ b/src/gns/test_gns_ipv6_lookup.sh @@ -6,10 +6,10 @@ if [ -z $LOCATION ] 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 diff --git a/src/gns/test_gns_nick_shorten.sh b/src/gns/test_gns_nick_shorten.sh index 83fc20713..fef80b4d0 100755 --- a/src/gns/test_gns_nick_shorten.sh +++ b/src/gns/test_gns_nick_shorten.sh @@ -3,7 +3,7 @@ trap "gnunet-arm -e -c test_gns_nick_shorten.conf" SIGINT 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 @@ if [ -z $LOCATION ] 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 @@ echo "Adding nick names for identities" 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 @@ then 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 diff --git a/src/gns/test_gns_plus_lookup.sh b/src/gns/test_gns_plus_lookup.sh index 652838cb8..91865b346 100755 --- a/src/gns/test_gns_plus_lookup.sh +++ b/src/gns/test_gns_plus_lookup.sh @@ -6,10 +6,10 @@ if [ -z $LOCATION ] 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 diff --git a/src/gns/test_gns_rel_expiration.sh b/src/gns/test_gns_rel_expiration.sh index 05714aed2..1f46d3c30 100755 --- a/src/gns/test_gns_rel_expiration.sh +++ b/src/gns/test_gns_rel_expiration.sh @@ -6,10 +6,10 @@ if [ -z $LOCATION ] 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 diff --git a/src/gns/test_gns_txt_lookup.sh b/src/gns/test_gns_txt_lookup.sh index f60ba1dbb..a025eb8be 100755 --- a/src/gns/test_gns_txt_lookup.sh +++ b/src/gns/test_gns_txt_lookup.sh @@ -6,10 +6,10 @@ if [ -z $LOCATION ] 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 diff --git a/src/gns/test_gns_zkey_lookup.sh b/src/gns/test_gns_zkey_lookup.sh index 9ce5e1d37..619a9eb32 100755 --- a/src/gns/test_gns_zkey_lookup.sh +++ b/src/gns/test_gns_zkey_lookup.sh @@ -7,10 +7,10 @@ if [ -z $LOCATION ] 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 -- cgit v1.2.3