summaryrefslogtreecommitdiff
path: root/tests/test-remote-add.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-12-25 14:17:36 -0500
committerColin Walters <walters@verbum.org>2013-12-25 14:17:36 -0500
commit39e3c1bb8a5e790a8e7824d4fb3fc986c65b994e (patch)
treef5eb984b86383a4d3424d4a2fcecf4bbf31e0b1a /tests/test-remote-add.sh
parent9adbc165e705bcefed8da0470b325e8b39d5edc4 (diff)
downloadostree-39e3c1bb8a5e790a8e7824d4fb3fc986c65b994e.tar.gz
ostree/remote-add: Add --no-gpg-verify option
To more conveniently disable GPG verification.
Diffstat (limited to 'tests/test-remote-add.sh')
-rwxr-xr-xtests/test-remote-add.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test-remote-add.sh b/tests/test-remote-add.sh
index 252090b3..7cd88124 100755
--- a/tests/test-remote-add.sh
+++ b/tests/test-remote-add.sh
@@ -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"