BT_FALSE, &plugin_set);
ok(status == BT_PLUGIN_FIND_ALL_FROM_DIR_STATUS_ERROR,
"bt_plugin_find_all_from_dir() fails with an invalid path");
+ bt_current_thread_clear_error();
plugin_set = NULL;
status = bt_plugin_find_all_from_dir(plugin_dir, BT_FALSE, BT_FALSE,
sink_def_port, &conn);
ok(status != BT_GRAPH_CONNECT_PORTS_STATUS_OK,
"bt_graph_connect_ports() returns an error");
+ bt_current_thread_clear_error();
ok(!conn, "returned connection is still NULL");
gsrc = bt_component_source_as_component_const(src);
gsink = bt_component_sink_as_component_const(sink);
sink_def_port, &conn);
ok(status != BT_GRAPH_CONNECT_PORTS_STATUS_OK,
"bt_graph_connect_ports() returns an error");
+ bt_current_thread_clear_error();
ok(!conn, "returned connection is still NULL");
gsrc = bt_component_source_as_component_const(src);
gsink = bt_component_sink_as_component_const(sink);