projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed formating
[psensor.git]
/
tests
/
test_io_dir_list.c
diff --git
a/tests/test_io_dir_list.c
b/tests/test_io_dir_list.c
index
6fc3258
..
1d3ec17
100644
(file)
--- a/
tests/test_io_dir_list.c
+++ b/
tests/test_io_dir_list.c
@@
-38,7
+38,7
@@
static int test_empty_dir(void)
}
paths_free(paths);
}
paths_free(paths);
- }
+ }
return ret;
}
return ret;
}
@@
-68,15
+68,15
@@
static int test_2files_dir(void)
ret = 1;
}
ret = 1;
}
-
+
cur++;
}
cur++;
}
-
+
if (!ret && one == 1 && two == 1)
ret = 0;
else
ret = 1;
if (!ret && one == 1 && two == 1)
ret = 0;
else
ret = 1;
-
+
paths_free(paths);
return ret;
paths_free(paths);
return ret;
@@
-98,7
+98,7
@@
int main(int argc, char **argv)
failures = tests_dir_list();
failures = tests_dir_list();
- if (failures)
+ if (failures)
exit(EXIT_FAILURE);
else
exit(EXIT_SUCCESS);
exit(EXIT_FAILURE);
else
exit(EXIT_SUCCESS);