diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-05-23 00:38:01 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-05-23 00:38:01 +0000 |
commit | 69eacfdf1b38076561465b6ad29a6eb647168abc (patch) | |
tree | 1b15568ae787cda8d60bd232efda85ad33fa6df6 /src | |
parent | 5906d0625691dfead3b3dd55e98cf5038177add1 (diff) | |
download | gnunet-69eacfdf1b38076561465b6ad29a6eb647168abc.tar.gz gnunet-69eacfdf1b38076561465b6ad29a6eb647168abc.zip |
- fix name detection
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/test_cadet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index b2471b35d..8b103a4a9 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c | |||
@@ -880,21 +880,21 @@ main (int argc, char *argv[]) | |||
880 | } | 880 | } |
881 | 881 | ||
882 | /* Find out requested test */ | 882 | /* Find out requested test */ |
883 | if (strstr (argv[0], "_cadet_forward") != NULL) | 883 | if (strstr (argv[0], "_forward") != NULL) |
884 | { | 884 | { |
885 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "FORWARD\n"); | 885 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "FORWARD\n"); |
886 | test = FORWARD; | 886 | test = FORWARD; |
887 | test_name = "unicast"; | 887 | test_name = "unicast"; |
888 | ok_goal = 4; | 888 | ok_goal = 4; |
889 | } | 889 | } |
890 | else if (strstr (argv[0], "_cadet_signal") != NULL) | 890 | else if (strstr (argv[0], "_signal") != NULL) |
891 | { | 891 | { |
892 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SIGNAL\n"); | 892 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "SIGNAL\n"); |
893 | test = P2P_SIGNAL; | 893 | test = P2P_SIGNAL; |
894 | test_name = "signal"; | 894 | test_name = "signal"; |
895 | ok_goal = 4; | 895 | ok_goal = 4; |
896 | } | 896 | } |
897 | else if (strstr (argv[0], "_cadet_speed_ack") != NULL) | 897 | else if (strstr (argv[0], "_speed_ack") != NULL) |
898 | { | 898 | { |
899 | /* Test is supposed to generate the following callbacks: | 899 | /* Test is supposed to generate the following callbacks: |
900 | * 1 incoming channel (@dest) | 900 | * 1 incoming channel (@dest) |
@@ -907,7 +907,7 @@ main (int argc, char *argv[]) | |||
907 | test = SPEED_ACK; | 907 | test = SPEED_ACK; |
908 | test_name = "speed ack"; | 908 | test_name = "speed ack"; |
909 | } | 909 | } |
910 | else if (strstr (argv[0], "_cadet_speed") != NULL) | 910 | else if (strstr (argv[0], "_speed") != NULL) |
911 | { | 911 | { |
912 | /* Test is supposed to generate the following callbacks: | 912 | /* Test is supposed to generate the following callbacks: |
913 | * 1 incoming channel (@dest) | 913 | * 1 incoming channel (@dest) |