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

xemul / criu / 1321
64%
master: 66%

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

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>

20257 of 31543 relevant lines covered (64.22%)

200926.04 hits per line

Uncovered Existing Lines

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