Skip to content

Commit

Permalink
tests: expand regex for hello package (#4739)
Browse files Browse the repository at this point in the history
The test package has changed to `hello=2.10-3build1`.

Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
  • Loading branch information
mr-cal authored Apr 16, 2024
1 parent aed002b commit 1c6eec9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ execute: |
test "${!key}" = "${expected[$key]}"
done
# account for hello package version change and possible ubuntu patch
echo -n "$parts_my_part_stage_packages_0" | grep -q '^hello=[0-9]\+\.[0-9]\+-[0-9]\+\(ubuntu[0-9]\+\)\?$'
echo -n "$primed_stage_packages_0" | grep -q '^hello=[0-9]\+\.[0-9]\+-[0-9]\+\(ubuntu[0-9]\+\)\?$'
# account for hello package version change and possible 'build' or 'ubuntu' patch
echo -n "$parts_my_part_stage_packages_0" | grep -q '^hello=[0-9]\+\.[0-9]\+-[0-9]\+\(build[0-9]\+\|ubuntu[0-9]\+\)\?$'
echo -n "$primed_stage_packages_0" | grep -q '^hello=[0-9]\+\.[0-9]\+-[0-9]\+\(build[0-9]\+\|ubuntu[0-9]\+\)\?$'
cp manifest_0.1_*.snap ~/
review-tools.snap-review ~/manifest_0.1_*.snap

0 comments on commit 1c6eec9

Please sign in to comment.