diff options
author | Julien Viard de Galbert <julien@vdg.blogsite.org> | 2010-09-13 16:16:43 +0200 |
---|---|---|
committer | Julien Viard de Galbert <julien@vdg.blogsite.org> | 2010-09-13 16:16:43 +0200 |
commit | 1afdcab9622d5248a87972b474b04f79bca00483 (patch) | |
tree | f596ed2846acac05db61f63c6043045a37748bbd /test | |
parent | 6088cb66d9ef26c56235c7bcb2d16af4965b1eb7 (diff) |
License clarification and changes.
Added GPL v2+ in files, added optional Ruby license to ruby files also.
Diffstat (limited to 'test')
-rwxr-xr-x | test/tc_rules.rb | 20 | ||||
-rwxr-xr-x | test/tc_system.rb | 20 | ||||
-rwxr-xr-x | test/tc_tcp.rb | 20 | ||||
-rwxr-xr-x | test/tc_udp.rb | 20 | ||||
-rw-r--r-- | test/test_helper.rb | 22 | ||||
-rwxr-xr-x | test/ts_full.rb | 20 |
6 files changed, 121 insertions, 1 deletions
diff --git a/test/tc_rules.rb b/test/tc_rules.rb index 24426bd..ca748e6 100755 --- a/test/tc_rules.rb +++ b/test/tc_rules.rb @@ -2,6 +2,26 @@ # netsed Unit::Tests # (c) 2010 Julien Viard de Galbert <julien@silicone.homelinux.org> # +# --------------------------------------------------------------------------- +# 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 2 +# of the License, or (at your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You may also redistribute it or any part of it under the Ruby license to +# better integrate to your ruby scripts. +# The ruby license is available at http://www.ruby-lang.org/en/LICENSE.txt +# --------------------------------------------------------------------------- +# # this file implements checks for netsed rules in class TC_RuleTest require 'test/unit' diff --git a/test/tc_system.rb b/test/tc_system.rb index 38d063c..d130b86 100755 --- a/test/tc_system.rb +++ b/test/tc_system.rb @@ -2,6 +2,26 @@ # netsed Unit::Tests # (c) 2010 Julien Viard de Galbert <julien@silicone.homelinux.org> # +# --------------------------------------------------------------------------- +# 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 2 +# of the License, or (at your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You may also redistribute it or any part of it under the Ruby license to +# better integrate to your ruby scripts. +# The ruby license is available at http://www.ruby-lang.org/en/LICENSE.txt +# --------------------------------------------------------------------------- +# # this file implements checks for netsed system behaviour in class TC_SystemTest require 'test/unit' diff --git a/test/tc_tcp.rb b/test/tc_tcp.rb index a44803c..40e04a4 100755 --- a/test/tc_tcp.rb +++ b/test/tc_tcp.rb @@ -2,6 +2,26 @@ # netsed Unit::Tests # (c) 2010 Julien Viard de Galbert <julien@silicone.homelinux.org> # +# --------------------------------------------------------------------------- +# 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 2 +# of the License, or (at your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You may also redistribute it or any part of it under the Ruby license to +# better integrate to your ruby scripts. +# The ruby license is available at http://www.ruby-lang.org/en/LICENSE.txt +# --------------------------------------------------------------------------- +# # this file implements checks for netsed behaviour regarding tcp connections. # * TC_TCPTest run the tests on IPv4. # * TC_TCPTest6 is a generated class which rerun all the tests on IPv6. diff --git a/test/tc_udp.rb b/test/tc_udp.rb index b55b071..fdf1530 100755 --- a/test/tc_udp.rb +++ b/test/tc_udp.rb @@ -2,6 +2,26 @@ # netsed Unit::Tests # (c) 2010 Julien Viard de Galbert <julien@silicone.homelinux.org> # +# --------------------------------------------------------------------------- +# 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 2 +# of the License, or (at your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You may also redistribute it or any part of it under the Ruby license to +# better integrate to your ruby scripts. +# The ruby license is available at http://www.ruby-lang.org/en/LICENSE.txt +# --------------------------------------------------------------------------- +# # this file implements checks for netsed behaviour regarding udp 'connections'. # * TC_UDPTest run the tests on IPv4. # * TC_UDPTest6 is a generated class which rerun all the tests on IPv6. diff --git a/test/test_helper.rb b/test/test_helper.rb index fd6b9f4..4abad62 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,27 @@ #!/usr/bin/ruby # helper function for netsed Unit::Tests # (c) 2010 Julien Viard de Galbert <julien@silicone.homelinux.org> -# +# +# --------------------------------------------------------------------------- +# 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 2 +# of the License, or (at your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You may also redistribute it or any part of it under the Ruby license to +# better integrate to your ruby scripts. +# The ruby license is available at http://www.ruby-lang.org/en/LICENSE.txt +# --------------------------------------------------------------------------- + require 'socket' diff --git a/test/ts_full.rb b/test/ts_full.rb index 20b4cad..2386b81 100755 --- a/test/ts_full.rb +++ b/test/ts_full.rb @@ -2,6 +2,26 @@ # netsed Unit::Tests # (c) 2010 Julien Viard de Galbert <julien@silicone.homelinux.org> # +# --------------------------------------------------------------------------- +# 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 2 +# of the License, or (at your option) any later version. +# +# This program 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, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +# +# You may also redistribute it or any part of it under the Ruby license to +# better integrate to your ruby scripts. +# The ruby license is available at http://www.ruby-lang.org/en/LICENSE.txt +# --------------------------------------------------------------------------- +# # This test suite run all available tests named tc_*.rb # # It also makes sure the tests are run from the directory where the script is |