Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Aug 13, 2020
1 parent 298ff9e commit 3b767fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stns_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Test(stns_request, http_cache)
c.negative_cache_ttl = 1;
c.use_cached = 0;

mkdir("/var/cache/stns/", S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO);
stns_request(&c, "get?notfound", &r);
cr_assert_eq(stat(path, &st), -1);
free(r.data);
Expand Down

0 comments on commit 3b767fc

Please sign in to comment.