diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-29 16:24:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-29 16:24:59 +0000 |
commit | 3195b01c1be562d1896becdd5f12281796cf28c0 (patch) | |
tree | 199ceb34372f5a65329435a013a1828098b8eb57 | |
parent | 1e2cfae35291656e7f66f0cd96fe5acafa454151 (diff) | |
download | gnunet-3195b01c1be562d1896becdd5f12281796cf28c0.tar.gz gnunet-3195b01c1be562d1896becdd5f12281796cf28c0.zip |
-nicer messages
-rwxr-xr-x | src/gns/test_gns_pseu_shorten.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/test_gns_pseu_shorten.sh b/src/gns/test_gns_pseu_shorten.sh index 7c07ec18e..d9c107d6f 100755 --- a/src/gns/test_gns_pseu_shorten.sh +++ b/src/gns/test_gns_pseu_shorten.sh | |||
@@ -28,17 +28,17 @@ gnunet-arm -e -c test_gns_lookup.conf | |||
28 | 28 | ||
29 | if [ "$RES_IP" == "$TEST_IP" ] | 29 | if [ "$RES_IP" == "$TEST_IP" ] |
30 | then | 30 | then |
31 | echo "$TEST_NAME resolved , got $RES_IP." | 31 | echo "PASS: Resolved $TEST_NAME properly to $RES_IP." |
32 | else | 32 | else |
33 | echo "Failed to resolve $TEST_NAME to proper IP, got $RES_IP." | 33 | echo "FAIL: Could not resolve $TEST_NAME to proper IP, got $RES_IP." |
34 | exit 1 | 34 | exit 1 |
35 | fi | 35 | fi |
36 | 36 | ||
37 | if [ "$RES_IP_PSEU" == "$TEST_IP" ] | 37 | if [ "$RES_IP_PSEU" == "$TEST_IP" ] |
38 | then | 38 | then |
39 | echo "$TEST_NAME_SHORT resolved , got $RES_IP." | 39 | echo "PASS: Resolved $TEST_NAME_SHORT properly to $RES_IP." |
40 | exit 0 | 40 | exit 0 |
41 | else | 41 | else |
42 | echo "Failed to resolve $TEST_NAME_SHORT to proper IP, got $RES_IP_PSEU." | 42 | echo "FAIL: Could not resolve $TEST_NAME_SHORT to proper IP, got $RES_IP_PSEU." |
43 | exit 1 | 43 | exit 1 |
44 | fi | 44 | fi |