[asterisk-commits] tilghman: branch tilghman/callparking_retrieval r816 - /asterisk/team/tilghma...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Oct 29 15:36:12 CDT 2010


Author: tilghman
Date: Fri Oct 29 15:36:10 2010
New Revision: 816

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=816
Log:
Turn off debug

Modified:
    asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test

Modified: asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test?view=diff&rev=816&r1=815&r2=816
==============================================================================
--- asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test (original)
+++ asterisk/team/tilghman/callparking_retrieval/tests/pbx/call-files2/run-test Fri Oct 29 15:36:10 2010
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 set +e
-debug=1
+debug=0
 
 echo " >>> Starting spoolfile test"
 
@@ -125,8 +125,10 @@
 		exit 1
 	fi
 
-	$ASTERISK -C $conf/asterisk.conf -rx 'core set debug 1 pbx_spool'
-	$ASTERISK -C $conf/asterisk.conf -rx 'dialplan show'
+	if test $debug = "1"; then
+		$ASTERISK -C $conf/asterisk.conf -rx 'core set debug 1 pbx_spool'
+		$ASTERISK -C $conf/asterisk.conf -rx 'dialplan show'
+	fi
 done
 
 echo " >>> Spooling first file"




More information about the asterisk-commits mailing list