ostree/remote-add: Add --no-gpg-verify option

To more conveniently disable GPG verification.
This commit is contained in:
Colin Walters committed 2013-12-25 14:17:36 -05:00
1 parent 9adbc165e7
commit 39e3c1bb8a
2 files changed
+11 -1

No files matched your search

+5 -1
View File
@@ -21,10 +21,14 @@ set -e
. $(dirname $0)/libtest.sh
echo '1..2'
echo '1..3'
setup_test_repository "bare"
$OSTREE remote add origin http://example.com/ostree/gnome
echo "ok remote add"
assert_file_has_content $test_tmpdir/repo/config "example.com"
echo "ok config"
$OSTREE remote add --no-gpg-verify another http://another.com/repo
assert_file_has_content $test_tmpdir/repo/config "gpg-verify=false"
echo "ok remote no gpg-verify"