• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / fscrypt / 373
34%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2019 08:45PM UTC
Jobs 1
Files 35
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2019 08:41PM UTC coverage: 31.815% (+0.05%) from 31.765%
373

push

travis-ci

josephlr
writeDataAtomic() fixes (#140)

* filesystem: ensure data is persisted before returning success

Sync the temporary file before renaming it, to ensure that after a
crash, the destination file isn't zero-length or otherwise incomplete.

Also sync the directory after the rename, to ensure the rename has been
persisted before returning success.

* filesystem: don't use fixed temporary file name

Using a fixed temporary file name in a world-writable sticky directory
is problematic since another user can create the file first.

Use ioutil.TempFile() to do it properly.  It uses O_EXCL under the hood
to ensure the file is newly created.

28 of 28 new or added lines in 1 file covered. (100.0%)

1278 of 4017 relevant lines covered (31.81%)

1231.05 hits per line

Jobs
ID Job ID Ran Files Coverage
5 373.5 (Integration Tests) 09 Sep 2019 08:45PM UTC 0
31.81
Travis Job 373.5
Source Files on build 373
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #373
  • 237308a6 on github
  • Prev Build on master (#372)
  • Next Build on master (#374)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc