Add a default policy file, install it in (make install) and integration tests

(skopeo copy) will soon ALWAYS require a present policy file.  So,
install one by (make install), and ensure that integration tests do so
as well.

Also simplifies the usage of install(1) a bit.
This commit is contained in:
Miloslav Trmač
2016-08-08 22:07:35 +02:00
parent d5d6bc28f7
commit d4462330a5
3 changed files with 12 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ bundle_test_integration() {
# subshell so that we can export PATH without breaking other things
(
make binary-local
make install-binary
make install
export GO15VENDOREXPERIMENT=1
bundle_test_integration
) 2>&1