- GNUNET_assert (NULL != op_result);
- GNUNET_assert (op_result == dht_handle);
- GNUNET_DHT_disconnect (dht_handle);
- dht_handle = NULL;
- GNUNET_assert (PEER_SERVICE_CONNECT == sub_test);
- GNUNET_assert (NULL != operation);
- operation = GNUNET_TESTBED_peer_stop (peer, NULL, NULL);
- GNUNET_assert (NULL != operation);
+ 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 );