tests: call bt_current_thread_clear_error() when handling an error
[babeltrace.git] / tests / lib / plugin.c
index 1f0d783a2d7b5f724cdee6e6daec40fb59e1d23e..9c58fd99a720bd69ee91981a73d8866d85f6ac48 100644 (file)
@@ -225,6 +225,7 @@ static void test_create_all_from_dir(const char *plugin_dir)
                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,
This page took 0.024284 seconds and 4 git commands to generate.