diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2015-04-27 11:15:40 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2015-04-27 15:22:41 +0200 |
commit | cd93780d974866069793932c8437ba4cf83ec3a7 (patch) | |
tree | e5b9c5dad6e61c40d16ee1fe01033aef57297019 /tests/test-gpg-signed-commit.sh | |
parent | f37cbe1fc970b079877f4fea7d1c17fef937ee21 (diff) | |
download | ostree-cd93780d974866069793932c8437ba4cf83ec3a7.tar.gz |
show: add option --gpg-homedir
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'tests/test-gpg-signed-commit.sh')
-rw-r--r-- | tests/test-gpg-signed-commit.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-gpg-signed-commit.sh b/tests/test-gpg-signed-commit.sh index 49fb4903..ba361c7a 100644 --- a/tests/test-gpg-signed-commit.sh +++ b/tests/test-gpg-signed-commit.sh @@ -37,6 +37,9 @@ ${OSTREE} show test2 | grep -o 'Found [[:digit:]] signature' > test2-show # tests will actually do verification assert_file_has_content test2-show 'Found 1 signature' +${OSTREE} show --gpg-homedir=${TEST_GPG_KEYHOME} test2 | grep -o 'Found [[:digit:]] signature' > test2-show +assert_file_has_content test2-show 'Found 1 signature' + # Now sign a commit with 3 different keys cd ${test_tmpdir} ${OSTREE} commit -b test2 -s "A GPG signed commit" -m "Signed commit body" --gpg-sign=${TEST_GPG_KEYID_1} --gpg-sign=${TEST_GPG_KEYID_2} --gpg-sign=${TEST_GPG_KEYID_3} --gpg-homedir=${TEST_GPG_KEYHOME} --tree=dir=files |