aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-05-21 12:48:22 +0000
committerChristian Grothoff <christian@grothoff.org>2013-05-21 12:48:22 +0000
commit39d39b9493a419b361ffd7423f9f57640ca459cc (patch)
tree60c18ba5a17276e186595fb18e89a7b30fe764a1 /src
parent56b0f68b2fb5b2578faf8fdc5bed5ef9ae236f03 (diff)
downloadgnunet-39d39b9493a419b361ffd7423f9f57640ca459cc.tar.gz
gnunet-39d39b9493a419b361ffd7423f9f57640ca459cc.zip
-hide unnecessary output, add notification that test was actually run
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dns/test_gnunet_dns.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dns/test_gnunet_dns.sh b/src/dns/test_gnunet_dns.sh
index 33dfd6cfc..c768dd318 100755
--- a/src/dns/test_gnunet_dns.sh
+++ b/src/dns/test_gnunet_dns.sh
@@ -16,7 +16,7 @@ then
16 echo "This test requires sudo. Skipping." 16 echo "This test requires sudo. Skipping."
17 exit 0 17 exit 0
18fi 18fi
19if ! which nslookup 19if ! which nslookup > /dev/null
20then 20then
21 echo "This test requires nslookup. Skipping." 21 echo "This test requires nslookup. Skipping."
22 exit 0 22 exit 0
@@ -38,6 +38,7 @@ then
38 echo "Fail: got address $LO, wanted 127.0.0.1" 38 echo "Fail: got address $LO, wanted 127.0.0.1"
39 ret=1 39 ret=1
40else 40else
41 echo "Test run, with success."
41 ret=0 42 ret=0
42fi 43fi
43kill `jobs -p` 44kill `jobs -p`