test: fix build warnings for most tests

Let rsync.c continue to warn, it's not complete ...

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-10-03 12:22:33 +02:00
1 parent 75139cdf3c
commit ef4a8691d3
4 files changed
+16 -13

No files matched your search

+7 -7
View File
@@ -11,13 +11,13 @@ int main(void)
int result = 0;
size_t i;
struct tc test[] = {
{ "executable", 1 },
{ "executable -h", 1 },
{ "executable-link", 1 },
{ "regular", 0 },
{ "ls", 1 },
{ "/usr/bin/which", 1 },
{ NULL, 0 }
{ "executable", 1, 0 },
{ "executable -h", 1, 0 },
{ "executable-link", 1, 0 },
{ "regular", 0, 0 },
{ "ls", 1, 0 },
{ "/usr/bin/which", 1, 0 },
{ NULL, 0, 0 }
};
setenv("PATH", "data/which:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin", 1);