Skip to content

Conversation

djs55
Copy link
Collaborator

@djs55 djs55 commented May 26, 2015

This extends the setup.sh suite to use the --mock-devmapper if not running as root (e.g. from travis)

David Scott added 3 commits May 26, 2015 16:06
This will allow us to write test cases involving the local allocator too.

Signed-off-by: David Scott <dave.scott@citrix.com>
If we are running as root: we use real device mapper.
If we are not running as root: we use the mock device mapper.

Signed-off-by: David Scott <dave.scott@citrix.com>
We have 2 small test suites which test different things:

- test/test.ml: checks LV-level operations
- setup.sh: uses the local allocator

Signed-off-by: David Scott <dave.scott@citrix.com>
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 5d05350 on run-without-root into * on master*.

djs55 added a commit that referenced this pull request May 26, 2015
Hook up both test suites to travis
@djs55 djs55 merged commit 60b3633 into master May 26, 2015
@djs55 djs55 deleted the run-without-root branch May 26, 2015 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants