[Pkg-voip-commits] [asterisk] 10/13: asttestmods: enable res_pjsip_pubsub tests
tzafrir at debian.org
tzafrir at debian.org
Wed Dec 27 23:16:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository asterisk.
commit ced6936da7ab69185dc87fd6f8d227d0f0ba935d
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Wed Dec 27 08:35:46 2017 +0200
asttestmods: enable res_pjsip_pubsub tests
Those tests required an extra configuration item set not included in
default configuration.
---
debian/tests/asttestmods | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/tests/asttestmods b/debian/tests/asttestmods
index 82de7cd..b974827 100755
--- a/debian/tests/asttestmods
+++ b/debian/tests/asttestmods
@@ -24,6 +24,10 @@ setup() {
mv "$file" "$new_name"
done
sed -i -e '/;enabled=/s/^;//' "$conf_dir/http.conf"
+ cat <<EOF >>"$conf_dir/sorcery.conf"
+[res_pjsip_pubsub]
+resource_list=memory
+EOF
for mod in $disable_mods; do
sed -i -e "/^\[modules\]/anoload => $mod.so" "$conf_dir/modules.conf"
done
@@ -42,6 +46,7 @@ run() {
if ! cmp -s "$output_dir/mods_loaded" "$output_dir/mods_all"; then
echo >&2 "Some test modules were not loaded:"
diff "$output_dir/mods_loaded" "$output_dir/mods_all" >&2
+ echo "Manually disabled: $disable_mods"
fi
header=`cat "$results_file" | sed -e '/^$/,$d' `
failed=`echo "$header" | awk '/^Passed/ {print $3}'`
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git
More information about the Pkg-voip-commits
mailing list