- FAIL_TEST (NULL != op_result, return);
- FAIL_TEST (op_result == dht_handle, return);
- GNUNET_DHT_disconnect (dht_handle);
- dht_handle = NULL;
- FAIL_TEST (PEER_SERVICE_CONNECT == sub_test, return);
- FAIL_TEST (NULL != operation, return);
- operation = GNUNET_TESTBED_peer_stop (peer, NULL, NULL);
- FAIL_TEST (NULL != operation, return);
+ FAIL_TEST (NULL != op_result, return );
+ FAIL_TEST (op_result == arm_handle, return );
+ GNUNET_ARM_disconnect (arm_handle);
+ arm_handle = NULL;
+ FAIL_TEST (PEER_SERVICE_CONNECT == sub_test, return );
+ FAIL_TEST (NULL != operation, return );
+ operation = GNUNET_TESTBED_peer_stop (NULL, peer, NULL, NULL);
+ FAIL_TEST (NULL != operation, return );