3 gchar
**testList
= NULL
;
5 void fileOpen(gchar
*filename
) {
10 if (g_file_get_contents(filename
, &contents
, &length
, &error
) != FALSE
) {
11 testList
= g_strsplit(contents
, "\n", MAXTESTS
);
17 if (testList
== NULL
) {
18 testList
= g_strsplit("xu1\nci2", "\n", MAXTESTS
);
22 void fileSave(gchar
*filename
) {
23 if (testList
!= NULL
) {
24 gchar
*contents
= g_strjoinv("\n", testList
);
26 if (g_file_set_contents(filename
, contents
, -1, &error
) == FALSE
) {
33 if (testList
!= NULL
) {