diff options
Diffstat (limited to 'tests/test_runasuser.c')
-rw-r--r-- | tests/test_runasuser.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/test_runasuser.c b/tests/test_runasuser.c deleted file mode 100644 index 5fe4f1a..0000000 --- a/tests/test_runasuser.c +++ /dev/null @@ -1,19 +0,0 @@ -#include <stdio.h> - -#include <dapi/comm.h> -#include <dapi/calls.h> - -int main() - { - int ok; - DapiConnection* conn = dapi_connectAndInit(); - if( conn == NULL ) - { - fprintf( stderr, "Cannot connect!\n" ); - return 1; - } - ok = dapi_RunAsUser_Window( conn, "", "xterm -title test", 0 ); /* no mainwindow */ - printf( "Result: %s\n", ok == 1 ? "Ok" : "Failed" ); - dapi_close( conn ); - return 0; - } |