In some build environments the UID of build processes can be arbitrary
high which causes some tests to fail due to checks in app2ext_interface.c
Change-Id: I29bd686f6305f1a709e89180debc14e0904bb18b
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
static GVariant* __last_parameters;
static gchar* __last_method_name;
static GVariant* __last_parameters;
static gchar* __last_method_name;
+extern "C" uid_t getuid(void) {
+ return 1;
+}
+
extern "C" GDBusConnection* g_bus_get_sync(GBusType type,
GCancellable* cancellable, GError** error) {
gpointer dummy = g_object_new(G_TYPE_OBJECT, nullptr);
extern "C" GDBusConnection* g_bus_get_sync(GBusType type,
GCancellable* cancellable, GError** error) {
gpointer dummy = g_object_new(G_TYPE_OBJECT, nullptr);