mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
travis: fail on bad hash message
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
+4
-1
@@ -136,7 +136,10 @@ EOF
|
|||||||
echo_blue "=== $pkg_name: Starting quick tests"
|
echo_blue "=== $pkg_name: Starting quick tests"
|
||||||
|
|
||||||
exec_status '^ERROR' make "package/$pkg_name/download" V=s || RET=1
|
exec_status '^ERROR' make "package/$pkg_name/download" V=s || RET=1
|
||||||
exec_status '^ERROR' make "package/$pkg_name/check" V=s || RET=1
|
badhash_msg_regex="HASH does not match "
|
||||||
|
badhash_msg_regex="$badhash_msg_regex|HASH uses deprecated hash,"
|
||||||
|
badhash_msg_regex="$badhash_msg_regex|HASH is missing,"
|
||||||
|
exec_status '^ERROR'"|$badhash_msg_regex" make "package/$pkg_name/check" V=s || RET=1
|
||||||
|
|
||||||
echo_blue "=== $pkg_name: quick tests done"
|
echo_blue "=== $pkg_name: quick tests done"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user