freight-team / freight

A modern take on the Debian archive.
Other
107 stars 37 forks source link

Add basic BATS test suite for freight-{add,cache} #9

Closed domcleal closed 8 years ago

domcleal commented 8 years ago

A set of tests for freight-add and freight-cache are added to check that an ordinary deb can be added and generated into a repository. A further test runs apt locally against the Freight cache to check the repo is functional.

Fixes #5


@mattock you'll need to enable Travis CI on the repo I think. The tests will also fail at the moment due to #8.

mmoll commented 8 years ago

this is magic :rainbow: :+1:

mattock commented 8 years ago

@domcleal: I will look into Travis (and all the other stuff) tomorrow.

domcleal commented 8 years ago

I've added an extra test for the multiple GPG key support, and also added a matrix to the Travis CI config to run tests under both dash and bash (though called as 'sh' for POSIX mode).

mmoll commented 8 years ago

One comment, working perfectly fine otherwise

mmoll commented 8 years ago

:+1:

mmoll commented 8 years ago

thanks @domcleal!