[Git][pkg-voip-team/asterisk][master] Fix autopkgtest by looking at the right line in the summary

Bernhard Schmidt gitlab at salsa.debian.org
Mon Sep 3 21:25:26 BST 2018


Bernhard Schmidt pushed to branch master at Debian VoIP Packaging Team / asterisk


Commits:
bcb2358e by Bernhard Schmidt at 2018-09-03T20:25:00Z
Fix autopkgtest by looking at the right line in the summary

- - - - -


1 changed file:

- debian/tests/asttestmods


Changes:

=====================================
debian/tests/asttestmods
=====================================
@@ -50,7 +50,7 @@ run() {
 		echo "Manually disabled: $disable_mods"
 	fi
 	header=`cat "$results_file" | sed -e '/^$/,$d' `
-	failed=`echo "$header" | awk '/^Passed/ {print $3}'`
+	failed=`echo "$header" | awk '/^Failed/ {print $3}'`
 	test_in_source=`grep AST_TEST_REGISTER tests/test_*.c | wc -l`
 	if [ "$failed" != '0' ]; then
 		echo >&2 "Some tests failed:"



View it on GitLab: https://salsa.debian.org/pkg-voip-team/asterisk/commit/bcb2358e9d334cdb80c6eadcb9c6ec56bb7fea03

-- 
View it on GitLab: https://salsa.debian.org/pkg-voip-team/asterisk/commit/bcb2358e9d334cdb80c6eadcb9c6ec56bb7fea03
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20180903/5a711360/attachment.html>


More information about the Pkg-voip-maintainers mailing list