[svn-commits] pabelanger: testsuite/asterisk/trunk r900 - in /asterisk/trunk: ./ tests/call...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 22 11:44:19 CST 2010


Author: pabelanger
Date: Mon Nov 22 11:44:13 2010
New Revision: 900

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=900
Log:
Improve test portability by using "#!/usr/bin/env"

Modified:
    asterisk/trunk/README.txt
    asterisk/trunk/tests/callparking_retrieval/run-test
    asterisk/trunk/tests/cdr/app_dial_G_flag/run-test
    asterisk/trunk/tests/cdr/app_queue/run-test
    asterisk/trunk/tests/cdr/blind-transfer-accountcode/run-test
    asterisk/trunk/tests/cdr/originate-cdr-disposition/run-test
    asterisk/trunk/tests/example/run-test
    asterisk/trunk/tests/fax/local_channel_t38_queryoption/run-test
    asterisk/trunk/tests/func_srv/run-test
    asterisk/trunk/tests/manager/action-events-response/run-test
    asterisk/trunk/tests/manager/response-time/run-test
    asterisk/trunk/tests/pbx/call-files2/run-test
    asterisk/trunk/tests/queues/macro_gosub_test/run-test
    asterisk/trunk/tests/queues/position_priority_maxlen/run-test
    asterisk/trunk/tests/queues/queue_baseline/run-test
    asterisk/trunk/tests/queues/ringinuse_and_pause/run-test
    asterisk/trunk/tests/queues/wrapup_time/run-test
    asterisk/trunk/tests/rfc2833_dtmf_detect/run-test
    asterisk/trunk/tests/sip/handle_response_refer/run-test
    asterisk/trunk/tests/sip_channel_params/run-test
    asterisk/trunk/tests/sip_outbound_address/run-test

Modified: asterisk/trunk/README.txt
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/README.txt?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/README.txt (original)
+++ asterisk/trunk/README.txt Mon Nov 22 11:44:13 2010
@@ -201,6 +201,10 @@
 locations.  This includes a fresh set of sample configuration files in the
 /etc/asterisk directory.
 
+        For increased portability the shebang (#!) for "run-test" MUST begin
+with "#!/usr/bin/env".  For exmaple: a test written in Python would have
+"#!/usr/bin/env python" for the shebang.
+
 
 c) Test Execution
 

Modified: asterisk/trunk/tests/callparking_retrieval/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/callparking_retrieval/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/callparking_retrieval/run-test (original)
+++ asterisk/trunk/tests/callparking_retrieval/run-test Mon Nov 22 11:44:13 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 . lib/sh/library.sh
 

Modified: asterisk/trunk/tests/cdr/app_dial_G_flag/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/app_dial_G_flag/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/cdr/app_dial_G_flag/run-test (original)
+++ asterisk/trunk/tests/cdr/app_dial_G_flag/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/cdr/app_queue/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/app_queue/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/cdr/app_queue/run-test (original)
+++ asterisk/trunk/tests/cdr/app_queue/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/cdr/blind-transfer-accountcode/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/blind-transfer-accountcode/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/cdr/blind-transfer-accountcode/run-test (original)
+++ asterisk/trunk/tests/cdr/blind-transfer-accountcode/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/cdr/originate-cdr-disposition/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/originate-cdr-disposition/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/cdr/originate-cdr-disposition/run-test (original)
+++ asterisk/trunk/tests/cdr/originate-cdr-disposition/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/example/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/example/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/example/run-test (original)
+++ asterisk/trunk/tests/example/run-test Mon Nov 22 11:44:13 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 echo "Checking to see if Asterisk is installed ..."
 

Modified: asterisk/trunk/tests/fax/local_channel_t38_queryoption/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/fax/local_channel_t38_queryoption/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/fax/local_channel_t38_queryoption/run-test (original)
+++ asterisk/trunk/tests/fax/local_channel_t38_queryoption/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/func_srv/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/func_srv/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/func_srv/run-test (original)
+++ asterisk/trunk/tests/func_srv/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/func_srv

Modified: asterisk/trunk/tests/manager/action-events-response/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/manager/action-events-response/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/manager/action-events-response/run-test (original)
+++ asterisk/trunk/tests/manager/action-events-response/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/manager/response-time/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/manager/response-time/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/manager/response-time/run-test (original)
+++ asterisk/trunk/tests/manager/response-time/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/pbx/call-files2/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/pbx/call-files2/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/pbx/call-files2/run-test (original)
+++ asterisk/trunk/tests/pbx/call-files2/run-test Mon Nov 22 11:44:13 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 . lib/sh/library.sh
 

Modified: asterisk/trunk/tests/queues/macro_gosub_test/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/queues/macro_gosub_test/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/queues/macro_gosub_test/run-test (original)
+++ asterisk/trunk/tests/queues/macro_gosub_test/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/queues/macro_gosub_test

Modified: asterisk/trunk/tests/queues/position_priority_maxlen/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/queues/position_priority_maxlen/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/queues/position_priority_maxlen/run-test (original)
+++ asterisk/trunk/tests/queues/position_priority_maxlen/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/queues/position_priority_maxlen

Modified: asterisk/trunk/tests/queues/queue_baseline/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/queues/queue_baseline/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/queues/queue_baseline/run-test (original)
+++ asterisk/trunk/tests/queues/queue_baseline/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/queues/queue_baseline

Modified: asterisk/trunk/tests/queues/ringinuse_and_pause/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/queues/ringinuse_and_pause/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/queues/ringinuse_and_pause/run-test (original)
+++ asterisk/trunk/tests/queues/ringinuse_and_pause/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/queues/ringinuse_and_pause

Modified: asterisk/trunk/tests/queues/wrapup_time/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/queues/wrapup_time/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/queues/wrapup_time/run-test (original)
+++ asterisk/trunk/tests/queues/wrapup_time/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/queues/wrapup_time

Modified: asterisk/trunk/tests/rfc2833_dtmf_detect/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rfc2833_dtmf_detect/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/rfc2833_dtmf_detect/run-test (original)
+++ asterisk/trunk/tests/rfc2833_dtmf_detect/run-test Mon Nov 22 11:44:13 2010
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/rfc2833_dtmf_detect
 

Modified: asterisk/trunk/tests/sip/handle_response_refer/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip/handle_response_refer/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/sip/handle_response_refer/run-test (original)
+++ asterisk/trunk/tests/sip/handle_response_refer/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 . lib/sh/lua.sh
 asttest -a / -s `dirname $0` $@

Modified: asterisk/trunk/tests/sip_channel_params/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_channel_params/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/sip_channel_params/run-test (original)
+++ asterisk/trunk/tests/sip_channel_params/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/sip_channel_params

Modified: asterisk/trunk/tests/sip_outbound_address/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/sip_outbound_address/run-test?view=diff&rev=900&r1=899&r2=900
==============================================================================
--- asterisk/trunk/tests/sip_outbound_address/run-test (original)
+++ asterisk/trunk/tests/sip_outbound_address/run-test Mon Nov 22 11:44:13 2010
@@ -1,3 +1,3 @@
-#!/bin/bash -e
+#!/usr/bin/env bash -e
 
 asttest -a / -s tests/sip_outbound_address




More information about the svn-commits mailing list