clar: test chdir
diff --git a/tests/clar/sandbox.h b/tests/clar/sandbox.h
index ea9e35c..4b83bf3 100644
--- a/tests/clar/sandbox.h
+++ b/tests/clar/sandbox.h
@@ -65,7 +65,7 @@ static void clar_unsandbox(void)
if (_clar_path[0] == '\0')
return;
- chdir("..");
+ cl_must_pass(chdir(".."));
fs_rm(_clar_path);
}