From 97e9453a69395a34507dd471b6576e3935f0a3c1 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Wed, 3 Jul 2013 16:47:38 +0200 Subject: [PATCH] Added copyright in all lua. Removed unused script. --- copy_templates.sh | 6 ------ mocks/sr.lua | 20 +++++++++++++++++++- ngcp/avp.lua | 19 +++++++++++++++++++ ngcp/dp.lua | 20 +++++++++++++++++++- ngcp/ngcp.lua | 20 +++++++++++++++++++- ngcp/pp.lua | 20 +++++++++++++++++++- ngcp/pref.lua | 19 +++++++++++++++++++ ngcp/rp.lua | 20 +++++++++++++++++++- ngcp/up.lua | 20 +++++++++++++++++++- ngcp/utils.lua | 20 +++++++++++++++++++- ngcp/xavp.lua | 20 +++++++++++++++++++- tests/mocks.lua | 20 +++++++++++++++++++- tests/ngcp.lua | 20 +++++++++++++++++++- tests/ngcp_avp.lua | 20 +++++++++++++++++++- tests/ngcp_dp.lua | 20 +++++++++++++++++++- tests/ngcp_pp.lua | 20 +++++++++++++++++++- tests/ngcp_pref.lua | 19 +++++++++++++++++++ tests/ngcp_rp.lua | 20 +++++++++++++++++++- tests/ngcp_up.lua | 20 +++++++++++++++++++- tests/ngcp_xavp.lua | 20 +++++++++++++++++++- tests/test_all.lua | 19 +++++++++++++++++++ tests/test_kamailio.lua | 19 +++++++++++++++++++ tests/utils.lua | 20 +++++++++++++++++++- tests_v/dp_vars.lua | 19 +++++++++++++++++++ tests_v/pp_vars.lua | 19 +++++++++++++++++++ tests_v/up_vars.lua | 19 +++++++++++++++++++ 26 files changed, 475 insertions(+), 23 deletions(-) delete mode 100755 copy_templates.sh diff --git a/copy_templates.sh b/copy_templates.sh deleted file mode 100755 index 636fc0e..0000000 --- a/copy_templates.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -tpage --define PRO=true templates/proxy/prefs.lua > /etc/ngcp-config/templates/etc/kamailio/proxy/prefs.lua.tt2 -tpage --define PRO=true templates/proxy/kamailio.cfg > /etc/ngcp-config/templates/etc/kamailio/proxy/kamailio.cfg.customtt.tt2 -tpage --define PRO=true templates/proxy/proxy.cfg > /etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2 -ngcpcfg build /etc/kamailio/proxy -invoke-rc.d kamailio-proxy restart diff --git a/mocks/sr.lua b/mocks/sr.lua index 1975b05..c93c207 100644 --- a/mocks/sr.lua +++ b/mocks/sr.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + require ('logging.file') require 'lemock' require 'ngcp.utils' diff --git a/ngcp/avp.lua b/ngcp/avp.lua index 94cfe3e..f8952b9 100644 --- a/ngcp/avp.lua +++ b/ngcp/avp.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- -- class NGCPAvp NGCPAvp = { __class__ = 'NGCPAvp' diff --git a/ngcp/dp.lua b/ngcp/dp.lua index 461c21b..798381f 100644 --- a/ngcp/dp.lua +++ b/ngcp/dp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'ngcp.utils' require 'ngcp.pref' diff --git a/ngcp/ngcp.lua b/ngcp/ngcp.lua index c550ce5..01f6836 100644 --- a/ngcp/ngcp.lua +++ b/ngcp/ngcp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'ngcp.pp' require 'ngcp.dp' require 'ngcp.up' diff --git a/ngcp/pp.lua b/ngcp/pp.lua index 0cbbe46..981fd23 100644 --- a/ngcp/pp.lua +++ b/ngcp/pp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'ngcp.utils' require 'ngcp.xavp' diff --git a/ngcp/pref.lua b/ngcp/pref.lua index ccbb75e..f3f3504 100644 --- a/ngcp/pref.lua +++ b/ngcp/pref.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'ngcp.avp' require 'ngcp.xavp' diff --git a/ngcp/rp.lua b/ngcp/rp.lua index 41beb3d..e5fd1eb 100644 --- a/ngcp/rp.lua +++ b/ngcp/rp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'ngcp.utils' require 'ngcp.pref' diff --git a/ngcp/up.lua b/ngcp/up.lua index 561941e..bdb06d8 100644 --- a/ngcp/up.lua +++ b/ngcp/up.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'ngcp.utils' require 'ngcp.pref' diff --git a/ngcp/utils.lua b/ngcp/utils.lua index 454f1b3..ac7fe43 100644 --- a/ngcp/utils.lua +++ b/ngcp/utils.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- -- Lua utils -- copy a table diff --git a/ngcp/xavp.lua b/ngcp/xavp.lua index 10242fe..f02eedf 100644 --- a/ngcp/xavp.lua +++ b/ngcp/xavp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'ngcp.utils' -- class NGCPXAvp diff --git a/tests/mocks.lua b/tests/mocks.lua index 8d6b2fc..1710fac 100644 --- a/tests/mocks.lua +++ b/tests/mocks.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require 'mocks.sr' diff --git a/tests/ngcp.lua b/tests/ngcp.lua index e746ea8..e538583 100644 --- a/tests/ngcp.lua +++ b/tests/ngcp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require('lemock') require 'ngcp.utils' diff --git a/tests/ngcp_avp.lua b/tests/ngcp_avp.lua index 2ba70f7..ee53e9a 100644 --- a/tests/ngcp_avp.lua +++ b/tests/ngcp_avp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require 'mocks.sr' require 'ngcp.avp' diff --git a/tests/ngcp_dp.lua b/tests/ngcp_dp.lua index 372e422..fc8cbbe 100644 --- a/tests/ngcp_dp.lua +++ b/tests/ngcp_dp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require('lemock') require 'ngcp.utils' diff --git a/tests/ngcp_pp.lua b/tests/ngcp_pp.lua index ccecf41..1fadcdb 100644 --- a/tests/ngcp_pp.lua +++ b/tests/ngcp_pp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require('lemock') require 'ngcp.utils' diff --git a/tests/ngcp_pref.lua b/tests/ngcp_pref.lua index 22956b4..3b1b4e4 100644 --- a/tests/ngcp_pref.lua +++ b/tests/ngcp_pref.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require 'ngcp.pref' diff --git a/tests/ngcp_rp.lua b/tests/ngcp_rp.lua index f808d02..aecca33 100644 --- a/tests/ngcp_rp.lua +++ b/tests/ngcp_rp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require 'ngcp.utils' require 'ngcp.rp' diff --git a/tests/ngcp_up.lua b/tests/ngcp_up.lua index 62381ab..ea8bb90 100644 --- a/tests/ngcp_up.lua +++ b/tests/ngcp_up.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require('lemock') require 'ngcp.utils' diff --git a/tests/ngcp_xavp.lua b/tests/ngcp_xavp.lua index 071f324..4a0caf6 100644 --- a/tests/ngcp_xavp.lua +++ b/tests/ngcp_xavp.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require 'ngcp.xavp' diff --git a/tests/test_all.lua b/tests/test_all.lua index b43bdb7..2f4df28 100644 --- a/tests/test_all.lua +++ b/tests/test_all.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'tests.utils' require 'tests.mocks' require 'tests.ngcp_avp' diff --git a/tests/test_kamailio.lua b/tests/test_kamailio.lua index 017c5a7..5cf5bd5 100644 --- a/tests/test_kamailio.lua +++ b/tests/test_kamailio.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require 'tests.utils' require 'tests.ngcp_avp' require 'tests.ngcp_xavp' diff --git a/tests/utils.lua b/tests/utils.lua index b14d66d..5029968 100644 --- a/tests/utils.lua +++ b/tests/utils.lua @@ -1,4 +1,22 @@ -#!/usr/bin/env lua5.1 +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- require('luaunit') require 'ngcp.utils' diff --git a/tests_v/dp_vars.lua b/tests_v/dp_vars.lua index 4f4606a..da6e8fb 100644 --- a/tests_v/dp_vars.lua +++ b/tests_v/dp_vars.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- dp_vars = { voip_sipwise_local = { { diff --git a/tests_v/pp_vars.lua b/tests_v/pp_vars.lua index 68ac5ba..93f1127 100644 --- a/tests_v/pp_vars.lua +++ b/tests_v/pp_vars.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- pp_vars = { p_1 = { { diff --git a/tests_v/up_vars.lua b/tests_v/up_vars.lua index cc37bbd..6eb61a1 100644 --- a/tests_v/up_vars.lua +++ b/tests_v/up_vars.lua @@ -1,3 +1,22 @@ +-- +-- Copyright 2013 SipWise Team +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation, either version 3 of the License, or +-- (at your option) any later version. +-- +-- This package is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program. If not, see . +-- . +-- On Debian systems, the complete text of the GNU General +-- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". +-- up_vars = { ae736f72_21d1_4ea6_a3ea_4d7f56b3887c = { {