Skip to content

Commit

Permalink
Simplify test package
Browse files Browse the repository at this point in the history
  • Loading branch information
uilianries authored Oct 31, 2024
1 parent 01aaaef commit efa8a77
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions recipes/crossdb/all/test_package/test_package.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#include <stdio.h>
#include <stdlib.h>

#include <crossdb.h>

int main () {
xdb_conn_t *pConn = xdb_open (":memory:");
XDB_CHECK (NULL != pConn, printf ("failed to create DB\n"); return -1;);

xdb_close (pConn);

return 0;
printf("Cross DB Version: %s\n", xdb_version());
return EXIT_SUCCESS;
}

0 comments on commit efa8a77

Please sign in to comment.