diff options
author | Colin Walters <walters@verbum.org> | 2015-06-29 13:35:07 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-06-29 13:35:07 -0400 |
commit | 530631376ea4492c18c76de8e28c4ef08c4db906 (patch) | |
tree | 75bfc339d13683941523b0ef31b5206059d78590 /tests/test-pull-mirror-summary.sh | |
parent | c8c239f94c9bbe41c959ac448a7a2ca2babf9013 (diff) | |
download | ostree-530631376ea4492c18c76de8e28c4ef08c4db906.tar.gz |
tests: Check error messages instead of "expected-fail", handle old parallel
Diffstat (limited to 'tests/test-pull-mirror-summary.sh')
-rwxr-xr-x | tests/test-pull-mirror-summary.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-pull-mirror-summary.sh b/tests/test-pull-mirror-summary.sh index dfb3f20d..5c639a7f 100755 --- a/tests/test-pull-mirror-summary.sh +++ b/tests/test-pull-mirror-summary.sh @@ -70,8 +70,9 @@ rm -rf repo mkdir repo ${OSTREE} --repo=repo init --mode=archive-z2 ${OSTREE} --repo=repo remote add --set=gpg-verify-summary=true origin $(cat httpd-address)/ostree/gnomerepo -${OSTREE} --repo=repo pull --mirror origin 2>/dev/null || touch expected-fail -assert_has_file expected-fail +if ${OSTREE} --repo=repo pull --mirror origin 2>err.txt; then + assert_not_reached "Mirroring unexpectedly succeeded" +fi echo "ok pull mirror without signed summary" ${OSTREE} --repo=${test_tmpdir}/ostree-srv/gnomerepo summary -u ${COMMIT_SIGN} |