Skip to content

Commit

Permalink
tests: fixes/updates for package-management spread tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Patterson committed Mar 11, 2020
1 parent e168876 commit 7204213
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Expand Up @@ -29,4 +29,4 @@ execute: |
echo "snapcraft should have exited with error: $output"
exit 1
fi
echo "$output" | MATCH "The following signatures couldn't be verified"
echo "$output" | MATCH "Error adding repository key"
@@ -1,4 +1,4 @@
name: test-ppa-with-invalid-key-block
name: test-ppa-invalid-key-block
version: 'test1'
summary: test
description: test
Expand Down
Expand Up @@ -29,4 +29,4 @@ execute: |
echo "snapcraft should have exited with error: $output"
exit 1
fi
echo "$output" | MATCH "The following signatures couldn't be verified"
echo "$output" | MATCH "Error adding repository key"
Expand Up @@ -29,4 +29,4 @@ execute: |
echo "snapcraft should have exited with error: $output"
exit 1
fi
echo "$output" | MATCH "The following signatures couldn't be verified"
echo "$output" | MATCH "Error adding repository key"
@@ -1,7 +1,7 @@
summary: Verify encoded repository GPG key.

environment:
SNAP_DIR: test-ppa-with-key-blob
SNAP_DIR: test-ppa-with-key-block

prepare: |
#shellcheck source=tests/spread/tools/snapcraft-yaml.sh
Expand All @@ -26,7 +26,7 @@ restore: |
execute: |
cd "$SNAP_DIR"
snapcraft
snap install test-ppa-with-key-blob*.snap --dangerous
snap install test-ppa-with-key-block*.snap --dangerous
# Run test-ppa.
test-ppa-with-key-blob.test-ppa | MATCH "hello!"
test-ppa-with-key-block.test-ppa | MATCH "hello!"

0 comments on commit 7204213

Please sign in to comment.