diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-21 12:48:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-21 12:48:22 +0000 |
commit | 39d39b9493a419b361ffd7423f9f57640ca459cc (patch) | |
tree | 60c18ba5a17276e186595fb18e89a7b30fe764a1 /src | |
parent | 56b0f68b2fb5b2578faf8fdc5bed5ef9ae236f03 (diff) | |
download | gnunet-39d39b9493a419b361ffd7423f9f57640ca459cc.tar.gz gnunet-39d39b9493a419b361ffd7423f9f57640ca459cc.zip |
-hide unnecessary output, add notification that test was actually run
Diffstat (limited to 'src')
-rwxr-xr-x | src/dns/test_gnunet_dns.sh | 3 |
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 |
18 | fi | 18 | fi |
19 | if ! which nslookup | 19 | if ! which nslookup > /dev/null |
20 | then | 20 | then |
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 |
40 | else | 40 | else |
41 | echo "Test run, with success." | ||
41 | ret=0 | 42 | ret=0 |
42 | fi | 43 | fi |
43 | kill `jobs -p` | 44 | kill `jobs -p` |