Commit Graph

  • 6beafd9dba Added a test for the licensed example. Leo Arias 2015-11-05 01:00:55 -06:00
  • f0016723f3 Merge pull request #50 from elopio/subunit Leo Arias 2015-11-04 17:48:59 -06:00
  • f96101758c Merge branch 'master' into subunit Leo Arias 2015-11-04 17:41:53 -06:00
  • 852fdb408d Fixed the writeRecorder. Leo Arias 2015-11-04 17:40:35 -06:00
  • 73d6a2ebc4 Return the number of bytes written by subunit. Leo Arias 2015-11-04 16:39:28 -06:00
  • 589dab8785 Improved the assertions in the tests. Leo Arias 2015-11-04 16:19:34 -06:00
  • c8cac05771 Improved the format of the test scenarios. Leo Arias 2015-11-04 16:17:16 -06:00
  • da79f7b736 Typo: missed a period. Leo Arias 2015-11-04 16:13:42 -06:00
  • f220ee79bd Merge pull request #49 from mvo5/feature/selective-update Gustavo Niemeyer 2015-11-04 18:31:01 -02:00
  • 51842731e1 Merge pull request #51 from zyga/master Gustavo Niemeyer 2015-11-04 17:20:16 -02:00
  • 4b67f1b227 Merge pull request #56 from elopio/integration_readme Gustavo Niemeyer 2015-11-04 17:17:38 -02:00
  • 113191bd73 Use emhasis for values. Leo Arias 2015-11-04 13:10:44 -06:00
  • 3e70305f56 Use backticks to make the integration README file look prettiers. Leo Arias 2015-11-04 10:39:42 -06:00
  • bdb7b4cb9a Merge pull request #53 from elopio/negate_integration Leo Arias 2015-11-04 10:35:54 -06:00
  • 08d6d79f90 Build the integration tests in a tmpdir. Leo Arias 2015-11-04 09:09:35 -06:00
  • 5430bc32ee Added the excludeintegration tags on the cmd builds for the tests. Leo Arias 2015-11-04 08:57:15 -06:00
  • 954ed0c10a Removed extra empty line. Leo Arias 2015-11-04 08:48:01 -06:00
  • 84b79e52bd Exclude integration-tests from the deb build. Leo Arias 2015-11-04 08:47:07 -06:00
  • a920e639eb go fmt Michael Vogt 2015-11-04 15:08:59 +01:00
  • 66e6186e59 Merge remote-tracking branch 'upstream/master' into feature/native-security-policygen-regen Michael Vogt 2015-11-04 14:31:48 +01:00
  • 67ea489aa4 Merge branch 'feature/native-security-policygen-compare' into feature/native-security-policygen-regen Michael Vogt 2015-11-04 13:44:13 +01:00
  • db6ebe4d20 add test for AddHWAccess() that it re-generates the policy Michael Vogt 2015-11-04 13:42:37 +01:00
  • ccf6bba268 add test for CompareGeneratePolicyFromFile Michael Vogt 2015-11-04 12:56:10 +01:00
  • d094b09ceb improve tests for policy generation Michael Vogt 2015-11-04 12:47:19 +01:00
  • 07d44ed8cf Merge branch 'feature/native-security-policygen-compare' into feature/native-security-policygen-regen Michael Vogt 2015-11-04 10:16:30 +01:00
  • 1b8e2bd9ad when using readHWAccessYamlFile() we need to give it the full name Michael Vogt 2015-11-04 10:15:56 +01:00
  • c8fc24d9c2 only run "snappy policygen --regenerate-all" if the /usr/share/snappy/security-policy-version changes Michael Vogt 2015-11-04 09:30:10 +01:00
  • 025cade46a Merge remote-tracking branch 'upstream/master' into feature/selective-update Michael Vogt 2015-11-04 08:02:43 +01:00
  • 609f639187 Moved the godeps to apply to all tests. Leo Arias 2015-11-03 21:04:14 -06:00
  • 03f3d2540a Fixed fmt. Leo Arias 2015-11-03 20:59:14 -06:00
  • 6d93c3fe7d Try to skip the install step. Leo Arias 2015-11-03 20:55:39 -06:00
  • 2e63b8e759 Merge branch 'master' into negate_integration Leo Arias 2015-11-03 20:40:18 -06:00
  • df02febad3 Updated the builds and tests to use the new tag. Leo Arias 2015-11-03 20:37:24 -06:00
  • 72b2d20f7b Negate the integration build tag. Leo Arias 2015-11-03 18:27:12 -06:00
  • 55b7cffec3 Merge pull request #48 from chipaca/autopilot->autoupdate John Lenton 2015-11-04 00:02:50 +00:00
  • 71d577d019 bungled merge; fixed John R. Lenton 2015-11-03 23:53:56 +00:00
  • 9feb72006b Merge branch 'master' into autopilot->autoupdate John R. Lenton 2015-11-03 23:38:21 +00:00
  • 8501975016 Merge pull request #35 from chipaca/simple-daemon-locking John Lenton 2015-11-03 23:22:18 +00:00
  • 04ebbc705b now using new lockfile package John R. Lenton 2015-11-03 23:14:56 +00:00
  • c10d9c272d Merge branch 'master' into simple-daemon-locking John R. Lenton 2015-11-03 23:03:48 +00:00
  • 898918632c Merge pull request #42 from chipaca/priv-flock-rework John Lenton 2015-11-03 22:44:18 +00:00
  • 79027b3e1c avoid a double unlock closing the wrong file descriptor, serendipitously also dropping the need to leak -1 John R. Lenton 2015-11-03 22:34:33 +00:00
  • 12357b6b47 Merged with master. Leo Arias 2015-11-03 16:23:33 -06:00
  • 2d6bdcd5a5 kill priv.Mutex John R. Lenton 2015-11-03 22:00:17 +00:00
  • f8061bbc1c Undid edits to .po files; don't edit .po files directly. John R. Lenton 2015-11-03 19:40:23 +00:00
  • 89ad1797bc Fixing strings. John R. Lenton 2015-11-03 19:33:36 +00:00
  • 9ff796fca3 Merge pull request #52 from fgimenez/remove-underscore Gustavo Niemeyer 2015-11-03 15:00:44 -02:00
  • 626f7f17c5 Edited deps out of emacs to conserve the tabs. Leo Arias 2015-11-03 10:38:41 -06:00
  • 9ca804eeb1 Fixed fmt. Leo Arias 2015-11-03 10:25:54 -06:00
  • 45e7fbc135 Fixed fmt. Leo Arias 2015-11-03 10:20:28 -06:00
  • 5be22034c1 Changes for removing the leading underscore from the integration tests directory Federico Gimenez 2015-11-03 12:49:58 +01:00
  • c3d59cb946 debian/ubuntu-snappy.run-hooks.service: update run-hooks.service to re-generate the security policies Michael Vogt 2015-11-03 16:36:20 +01:00
  • 0dda1d5a32 add sudo snappy policygen --regenerate-all Michael Vogt 2015-11-03 16:28:57 +01:00
  • fc4722c55c refactor to get rid of code duplication Michael Vogt 2015-11-03 15:00:06 +01:00
  • 337dde4daf Move dependency handing earlier Zygmunt Krynicki 2015-11-03 13:41:53 +01:00
  • 3509e2036d implement snappy policygen --compare Michael Vogt 2015-11-03 12:18:18 +01:00
  • cdb5d5bd82 make packageInstruction.update() use the new snappy.Update() Michael Vogt 2015-11-03 10:02:03 +01:00
  • bb9aeae326 Added subunit-go to deps. Leo Arias 2015-11-03 00:03:10 -06:00
  • 2bd38a4ee7 Updated the integration tests to use subunit v2. Leo Arias 2015-11-03 00:00:10 -06:00
  • bd273fa22c allow (optional) snappy update $pkgname Michael Vogt 2015-11-02 16:09:44 +01:00
  • 890dd785b1 load/merge hwaccess overrides in generatePolicyForServiceBinary() and add some tests Michael Vogt 2015-11-02 11:34:44 +01:00
  • 64c89c892b use SecurityAppArmorOverrideDefinition instead of appArmorAdditionalYAML Michael Vogt 2015-11-02 10:46:25 +01:00
  • fa5e18f9ac make .json.additional file a yaml file Michael Vogt 2015-11-02 10:39:46 +01:00
  • f5d27b9fcd add test for getAppID() Michael Vogt 2015-11-02 09:04:38 +01:00
  • 7618113de9 add test for getSeccompCustomPolicy() (and tiny refactor) Michael Vogt 2015-11-02 08:59:08 +01:00
  • b2788795a3 add test for getAppArmorCustomPolicy (and refactor a wee bit) Michael Vogt 2015-11-02 08:56:21 +01:00
  • 36281e4eda add test for getSeccompTemplatedPolicy() Michael Vogt 2015-11-02 08:46:50 +01:00
  • 72eff1e635 add test for getAppArmorTemplatedPolicy Michael Vogt 2015-11-02 08:33:21 +01:00
  • 4c526fdb29 Move policygen into snappy policygen Michael Vogt 2015-11-02 07:57:54 +01:00
  • 306ff2c72d bogus s/autopilot/autoupdate/ in one of the places we have the unit name :-/ John R. Lenton 2015-11-01 13:43:46 +00:00
  • 6ab1989ac0 still mentioned "timer" unnecessarily in the autoupdate docs; fixed that John R. Lenton 2015-11-01 11:21:33 +00:00
  • f63bec42eb s/autopilot/autoupdate/ mostly (leave the unit files alone). Also update the documentation. John R. Lenton 2015-11-01 11:00:59 +00:00
  • 422feeb40a Merge pull request #45 from ubuntu-core/elopio-meta-docs Leo Arias 2015-10-31 21:32:05 -06:00
  • 3bf7e9428d test SnapUbuntuStoreRepo's All() method John R. Lenton 2015-10-31 16:30:38 +00:00
  • 1ba584d070 Added test for the getIcon api; found a bug wrt that, and fixed it. John R. Lenton 2015-10-31 15:51:34 +00:00
  • 0357cdc9b5 Merge pull request #39 from fgimenez/cli-login-test John Lenton 2015-10-31 10:56:29 +00:00
  • 3814e1c489 Updated the location of the examples. Leo Arias 2015-10-31 00:10:40 -06:00
  • e29f4e566d Merge pull request #43 from ubuntu-core/sergiusens-patch-1 Leo Arias 2015-10-30 12:40:58 -06:00
  • 4f71aca6ec Landing page link for travis fixed in README.md sergiusens 2015-10-30 14:14:52 -03:00
  • 693e791bc9 Login integration test closes #38 Federico Gimenez 2015-10-29 11:00:21 +01:00
  • e3be9ad612 fix security test Michael Vogt 2015-10-30 18:03:24 +01:00
  • ee01634c12 merged priv-flock-rework; made things work again John R. Lenton 2015-10-30 16:56:05 +00:00
  • 05e225744a add test for genAppArmorPathRule() Michael Vogt 2015-10-30 17:49:36 +01:00
  • 7a319e273d Merge branch 'priv-flock-rework' into simple-daemon-locking John R. Lenton 2015-10-30 16:43:56 +00:00
  • 267fe9e6b6 add test for getAppArmorVars() Michael Vogt 2015-10-30 17:42:33 +01:00
  • 927118affa add test for findCaps() (and tiny refactor) Michael Vogt 2015-10-30 17:34:39 +01:00
  • 2ebff7fb05 add test for findTemplate() (and tiny refactor) Michael Vogt 2015-10-30 17:23:00 +01:00
  • 2b82686945 add test for findWhitespacePrefix Michael Vogt 2015-10-30 17:04:04 +01:00
  • fc9f42defc add test for findUbuntuVersion() (plus tiny refactor) Michael Vogt 2015-10-30 16:49:29 +01:00
  • af2b98a044 unexport FindUbuntuVersion Michael Vogt 2015-10-30 16:30:21 +01:00
  • e812bd65db unexport FindUbuntuFlavor Michael Vogt 2015-10-30 16:28:18 +01:00
  • 52cee0815a use goflags positional args Michael Vogt 2015-10-30 16:13:43 +01:00
  • d2cf9dd019 cmd/policygen/main.go: add needs-root test Michael Vogt 2015-10-30 16:02:44 +01:00
  • 3a130cfdae Merge pull request #41 from mvo5/feature/wire-protocol John Lenton 2015-10-30 14:58:19 +00:00
  • 3dd20c9cca cmd/policygen/main.go: init the logger only once Michael Vogt 2015-10-30 15:52:49 +01:00
  • 820c86dabb Merge branch 'master' into from-bzr/snappy-security-cleanup Michael Vogt 2015-10-30 15:40:26 +01:00
  • 403825b78e rework filelock to make it less surprising wrt flock(2) semantics John R. Lenton 2015-10-30 14:38:57 +00:00
  • 581f4dea34 add X-Ubuntu-Core-Wire-Protocol to the headers Michael Vogt 2015-10-30 14:46:44 +01:00
  • 97cf364dff Merge pull request #36 from elopio/html-coverage sergiusens 2015-10-30 09:22:10 -03:00
  • 3ec731dc22 Fixed indentation. Leo Arias 2015-10-29 23:11:51 -06:00