Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eadf371

Browse files
committed
clar: test chdir
1 parent d88abb8 commit eadf371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/clar/sandbox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static void clar_unsandbox(void)
6565
if (_clar_path[0] == '\0')
6666
return;
6767

68-
chdir("..");
68+
cl_must_pass(chdir(".."));
6969

7070
fs_rm(_clar_path);
7171
}

0 commit comments

Comments
 (0)