mirror of
https://github.com/troglobit/libite.git
synced 2026-11-09 16:21:18 +00:00
Update makepath() unit test
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
714ea88cc9
commit
ba3f7c89fb
1 file changed
+2
-2
+2
-2
@@ -4,7 +4,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
||||||
int checkpath(char *dir)
|
int checkpath(const char *dir)
|
||||||
{
|
{
|
||||||
char tmp[256];
|
char tmp[256];
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
@@ -20,7 +20,7 @@ int checkpath(char *dir)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int test_makepath(char *dir)
|
int test_makepath(const char *dir)
|
||||||
{
|
{
|
||||||
int ret = makepath(dir);
|
int ret = makepath(dir);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user