Fix chewing_fuzzer.

Set CHEWING_USER_PATH to /tmp instead, since the executable directory is
read only on CF. Should fix #13.
This commit is contained in:
Oliver Chang 2016-10-18 13:12:35 -07:00
parent e751c6c3ae
commit b1b39adf11
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ int stress_main(int argc, char** argv);
char* dir = dirname(exe_path);
// Assume data files are at the same location as executable.
setenv("CHEWING_PATH", dir, 0);
setenv("CHEWING_USER_PATH", dir, 0);
setenv("CHEWING_USER_PATH", "/tmp", 0);
return 0;
}