summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2017-06-23 21:44:29 +0100
committerAtomic Bot <atomic-devel@projectatomic.io>2017-06-27 19:19:32 +0000
commita432a2b42029b7bc014b61375579994d13f22413 (patch)
tree5f8449a486296a5224ad7ae2768f1e62d8afe129
parent2f297ba4d30384a84ef0fcc5f2505aa1153f9155 (diff)
downloadostree-a432a2b42029b7bc014b61375579994d13f22413.tar.gz
tests: Fix incorrect `summary --update` usage in test-local-pull.sh
Previously the spurious ‘update’ atom was ignored; now that `ostree summary --update` accepts extra arguments as additional metadata, it’s causing an error. Drop it. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #961 Approved by: cgwalters
-rwxr-xr-xtests/test-local-pull.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-local-pull.sh b/tests/test-local-pull.sh
index 43b96010..1c9767f6 100755
--- a/tests/test-local-pull.sh
+++ b/tests/test-local-pull.sh
@@ -84,13 +84,13 @@ if ${CMD_PREFIX} ostree --repo=repo6 pull-local --remote=origin --gpg-verify-sum
assert_not_reached "GPG summary verification with no summary unexpectedly succeeded"
fi
-${OSTREE} summary -u update
+${OSTREE} summary --update
if ${CMD_PREFIX} ostree --repo=repo6 pull-local --remote=origin --gpg-verify-summary repo test2 2>&1; then
assert_not_reached "GPG summary verification with signed no summary unexpectedly succeeded"
fi
-${OSTREE} summary -u update --gpg-sign=${TEST_GPG_KEYID_1} --gpg-homedir=${TEST_GPG_KEYHOME}
+${OSTREE} summary --update --gpg-sign=${TEST_GPG_KEYID_1} --gpg-homedir=${TEST_GPG_KEYHOME}
${CMD_PREFIX} ostree --repo=repo6 pull-local --remote=origin --gpg-verify-summary repo test2 2>&1