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

xemul / criu / 1320
64%
master: 66%

Build:
Build:
LAST BUILD BRANCH: criu-dev
DEFAULT BRANCH: master
Ran 23 Sep 2017 02:51AM UTC
Jobs 1
Files 217
Run time 9s
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

pending completion
1320

cron

travis-ci

Andrei Vagin
tests: do not try to read more than packet in AutoFS test

The intention was to make sure, that only one packet is sent at a time.
And thus read has to return exactly the size of one packet.

But it doesnt' work as expected, because size of autofs_v5_packet_union
differs on 32 bit and 64 bit architectures.

This is a bug, but it's hidden so deeply, that no one really cares by the
following 2 aspects:

 1) Autofs pipe has O_DIRECT flag, which means excess bytes will be discarded
    upon read.
 2) No one tries to read more than one packet size at a time.

So let's fix the test instead and do not try to read more bytes, than
expected.

Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>

20256 of 31543 relevant lines covered (64.22%)

201643.61 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
/home/travis/build/xemul/criu/criu/uffd.c
1
100.0
/home/travis/build/xemul/criu/criu/pagemap-cache.c
Jobs
ID Job ID Ran Files Coverage
1 1320.1 (TR_ARCH=local GCOV=1) 23 Sep 2017 02:51AM UTC 0
64.22
Travis Job 1320.1
Source Files on build 1320
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1320
  • a1d169df on github
  • Prev Build on criu-dev (#1317)
  • Next Build on criu-dev (#1321)
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

© 2025 Coveralls, Inc