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

USBGuard / usbguard / 889
0%
master: 57%

Build:
Build:
LAST BUILD BRANCH: device-policy
DEFAULT BRANCH: master
Ran 11 Jul 2018 06:07AM UTC
Jobs 1
Files 331
Run time 20s
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
889

push

travis-ci

dkopecek
Implemented umockdev based device manager backend

How to use:

 1. Set DeviceManagerBackend=umockdev in usbguard-daemon.conf
 2. Record some USB devices using umockdev-record

    > umockdev-record /dev/bus/usb/001/001 > devices.umockdev

 3. Create empty directory, e.g. /tmp/usbguard-umockdev

    > mkdir /tmp/usbguard-umockdev

 4. Start usbguard-daemon via umockdev-wrapper and set device
    directory via environment variable USBGUARD_UMOCKDEV_DEVICEDIR:

    > env USBGUARD_UMOCKDEV_DEVICEDIR=/tmp/usbguard-umockdev \
       umockdev-wrapper usbguard-daemon -P -d -k -c usbguard-daemon.conf

 5. Simulate USB device insertion by copying the recorded file:

    > cp devices.umockdev /tmp/usbguard-umockdev

 6. Allow/Block devices using usbguard CLI...

 7. Simulate USB device removal by removing the recorded file:

    > rm /tmp/usbguard-umockdev/devices.umockdev

Related: https://github.com/USBGuard/usbguard/issues/52

11030 of 19253 relevant lines covered (57.29%)

2223.04 hits per line

Jobs
ID Job ID Ran Files Coverage
6 889.6 (COVERAGE=yes CONFIGURE_ARGS="--enable-coverage --disable-shared" USBGUARD_TESTS_VALGRIND=off) 11 Jul 2018 06:07AM UTC 0
57.29
Travis Job 889.6
Source Files on build 889
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #889
  • e89dbffd on github
  • Prev Build on private-umockdev (#874)
  • Next Build on private-umockdev (#894)
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