10 Commits
Author SHA1 Message Date
William Douglas 7544162243 Add include support for update
Add support in update to properly support bundles that include other
bundles inside them. This feature is intended to work with bundle
additions by adding included bundles (from bundles already subscribed)
to the subscription list prior to downloading packs and full files.

As part of this change the add_subscriptions function from bundle.c was
modified to handle retrying manifest downloads.
2016-03-22 10:38:57 -07:00
William Douglas 4c7f900a79 Fix bundle manifest
Test bundle was for version 100 but used version 10 content, update
contents for version 100.
2016-03-22 10:38:57 -07:00
William Douglas 7fa16a7e25 Update test for missing os-core bundle on update
os-core should always be in the list of subscribed bundles so fix test
to check if it exists in the subscribed list or not.
2016-03-22 10:38:57 -07:00
Brad T. Peters be35968781 swupd-client: Functional test for the Search
This patch adds a host of new functional tests, ensuring the search
feature works as expected.

Signed-off-by: Brad T. Peters <brad.t.peters@intel.com>
2016-03-17 11:04:35 -07:00
William Douglas 92211a6c7d Fix functional test manifest
The manifest references a file but was using the directory flag
incorrectly, fix.
2016-03-14 19:45:30 +00:00
William Douglas 7143aec578 Add bundle-add include support
Eventually manifests will be able to include other manifests and this
patchset adds support for adding those included manifests when running
bundle-add on the including manifest.
2016-03-11 23:36:13 +00:00
Patrick McCarty 97047688c3 Add functional tests for boot file handling fixes
The following tests are added here:

- Add a boot file via 'bundle-add' (failed before the previous commit).

- Remove a boot file via 'bundle-remove'.

- Add a boot file via 'update'.

- Detect a boot file hash mismatch via 'verify' (failed before the
  previous commit).

- Fix a boot file with incorrect hash via 'verify --fix' (failed before
  the previous commit).

- Ignore a boot file during 'verify --fix' if marked deleted (failed
  before the previous commit).

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2016-03-10 11:43:31 -08:00
Archana Shinde 81eed9b75e Add functional tests for testing verify_fix_path functionality.
The tests check for missing directory and hash mismatch for a parent directory.
2016-03-07 14:23:51 -08:00
William Douglas 2568e6daf7 Add functional test for hashdump 2016-03-07 14:23:18 -08:00
Patrick McCarty c42f8a3aa1 Initial commit
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
2016-02-24 09:34:13 -08:00