From ab66652b3270b95222dea134b5e47bb3afc434cc Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 12 Mar 2025 14:00:58 -0300 Subject: Removed copyright notice from 'testes/all.lua' All test files refer to the main copyright notice in 'lua.h'. --- testes/all.lua | 29 +---------------------------- testes/api.lua | 2 +- testes/attrib.lua | 2 +- testes/big.lua | 2 +- testes/bitwise.lua | 2 +- testes/calls.lua | 2 +- testes/closure.lua | 2 +- testes/code.lua | 2 +- testes/constructs.lua | 2 +- testes/coroutine.lua | 2 +- testes/cstack.lua | 2 +- testes/db.lua | 2 +- testes/errors.lua | 2 +- testes/events.lua | 2 +- testes/files.lua | 2 +- testes/gc.lua | 2 +- testes/gengc.lua | 2 +- testes/goto.lua | 2 +- testes/heavy.lua | 4 ++-- testes/literals.lua | 2 +- testes/locals.lua | 2 +- testes/main.lua | 2 +- testes/math.lua | 2 +- testes/memerr.lua | 2 +- testes/nextvar.lua | 2 +- testes/pm.lua | 2 +- testes/sort.lua | 2 +- testes/strings.lua | 2 +- testes/tpack.lua | 2 +- testes/utf8.lua | 2 +- testes/vararg.lua | 2 +- testes/verybig.lua | 2 +- 32 files changed, 33 insertions(+), 60 deletions(-) diff --git a/testes/all.lua b/testes/all.lua index c3fdac95..5c7ebfa5 100644 --- a/testes/all.lua +++ b/testes/all.lua @@ -1,6 +1,6 @@ #!../lua -- $Id: testes/all.lua $ --- See Copyright Notice at the end of this file +-- See Copyright Notice in file lua.h local version = "Lua 5.5" @@ -283,30 +283,3 @@ end print("final OK !!!") - - ---[[ -***************************************************************************** -* Copyright (C) 1994-2016 Lua.org, PUC-Rio. -* -* Permission is hereby granted, free of charge, to any person obtaining -* a copy of this software and associated documentation files (the -* "Software"), to deal in the Software without restriction, including -* without limitation the rights to use, copy, modify, merge, publish, -* distribute, sublicense, and/or sell copies of the Software, and to -* permit persons to whom the Software is furnished to do so, subject to -* the following conditions: -* -* The above copyright notice and this permission notice shall be -* included in all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -***************************************************************************** -]] - diff --git a/testes/api.lua b/testes/api.lua index ee2de98b..49e3f9b9 100644 --- a/testes/api.lua +++ b/testes/api.lua @@ -1,5 +1,5 @@ -- $Id: testes/api.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h if T==nil then (Message or print)('\n >>> testC not active: skipping API tests <<<\n') diff --git a/testes/attrib.lua b/testes/attrib.lua index 9054e0b6..d8b6e0f3 100644 --- a/testes/attrib.lua +++ b/testes/attrib.lua @@ -1,5 +1,5 @@ -- $Id: testes/attrib.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print "testing require" diff --git a/testes/big.lua b/testes/big.lua index 46fd8466..119caa6c 100644 --- a/testes/big.lua +++ b/testes/big.lua @@ -1,5 +1,5 @@ -- $Id: testes/big.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h if _soft then return 'a' diff --git a/testes/bitwise.lua b/testes/bitwise.lua index dd0a1a9a..10afff43 100644 --- a/testes/bitwise.lua +++ b/testes/bitwise.lua @@ -1,5 +1,5 @@ -- $Id: testes/bitwise.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print("testing bitwise operations") diff --git a/testes/calls.lua b/testes/calls.lua index 8b355957..942fad72 100644 --- a/testes/calls.lua +++ b/testes/calls.lua @@ -1,5 +1,5 @@ -- $Id: testes/calls.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print("testing functions and calls") diff --git a/testes/closure.lua b/testes/closure.lua index 07149ef3..d3b9f621 100644 --- a/testes/closure.lua +++ b/testes/closure.lua @@ -1,5 +1,5 @@ -- $Id: testes/closure.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print "testing closures" diff --git a/testes/code.lua b/testes/code.lua index 50ce7392..111717ce 100644 --- a/testes/code.lua +++ b/testes/code.lua @@ -1,5 +1,5 @@ -- $Id: testes/code.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h if T==nil then (Message or print)('\n >>> testC not active: skipping opcode tests <<<\n') diff --git a/testes/constructs.lua b/testes/constructs.lua index 6ac68166..3f6d506f 100644 --- a/testes/constructs.lua +++ b/testes/constructs.lua @@ -1,5 +1,5 @@ -- $Id: testes/constructs.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h ;;print "testing syntax";; diff --git a/testes/coroutine.lua b/testes/coroutine.lua index abc08039..680fc605 100644 --- a/testes/coroutine.lua +++ b/testes/coroutine.lua @@ -1,5 +1,5 @@ -- $Id: testes/coroutine.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print "testing coroutines" diff --git a/testes/cstack.lua b/testes/cstack.lua index 97afe9fd..0a68a30a 100644 --- a/testes/cstack.lua +++ b/testes/cstack.lua @@ -1,5 +1,5 @@ -- $Id: testes/cstack.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h local tracegc = require"tracegc" diff --git a/testes/db.lua b/testes/db.lua index 75730d27..3c821ab7 100644 --- a/testes/db.lua +++ b/testes/db.lua @@ -1,5 +1,5 @@ -- $Id: testes/db.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h -- testing debug library diff --git a/testes/errors.lua b/testes/errors.lua index 5fdb7722..8ef26757 100644 --- a/testes/errors.lua +++ b/testes/errors.lua @@ -1,5 +1,5 @@ -- $Id: testes/errors.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print("testing errors") diff --git a/testes/events.lua b/testes/events.lua index 5360ac30..2500fbd5 100644 --- a/testes/events.lua +++ b/testes/events.lua @@ -1,5 +1,5 @@ -- $Id: testes/events.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print('testing metatables') diff --git a/testes/files.lua b/testes/files.lua index 9bdf04d0..05fae49b 100644 --- a/testes/files.lua +++ b/testes/files.lua @@ -1,5 +1,5 @@ -- $Id: testes/files.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h local debug = require "debug" diff --git a/testes/gc.lua b/testes/gc.lua index 09bfe09a..96eadad8 100644 --- a/testes/gc.lua +++ b/testes/gc.lua @@ -1,5 +1,5 @@ -- $Id: testes/gc.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print('testing incremental garbage collection') diff --git a/testes/gengc.lua b/testes/gengc.lua index c4f6ca1b..ea99bdc4 100644 --- a/testes/gengc.lua +++ b/testes/gengc.lua @@ -1,5 +1,5 @@ -- $Id: testes/gengc.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print('testing generational garbage collection') diff --git a/testes/goto.lua b/testes/goto.lua index 103cccef..eca68516 100644 --- a/testes/goto.lua +++ b/testes/goto.lua @@ -1,5 +1,5 @@ -- $Id: testes/goto.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h collectgarbage() diff --git a/testes/heavy.lua b/testes/heavy.lua index 4731c747..3b4e4ce3 100644 --- a/testes/heavy.lua +++ b/testes/heavy.lua @@ -1,5 +1,5 @@ --- $Id: heavy.lua,v 1.7 2017/12/29 15:42:15 roberto Exp $ --- See Copyright Notice in file all.lua +-- $Id: testes/heavy.lua,v $ +-- See Copyright Notice in file lua.h local function teststring () print("creating a string too long") diff --git a/testes/literals.lua b/testes/literals.lua index 30ab9ab1..28995718 100644 --- a/testes/literals.lua +++ b/testes/literals.lua @@ -1,5 +1,5 @@ -- $Id: testes/literals.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print('testing scanner') diff --git a/testes/locals.lua b/testes/locals.lua index 910deb8a..ccea0a14 100644 --- a/testes/locals.lua +++ b/testes/locals.lua @@ -1,5 +1,5 @@ -- $Id: testes/locals.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print('testing local variables and environments') diff --git a/testes/main.lua b/testes/main.lua index e0e9cbe8..bf3c898e 100644 --- a/testes/main.lua +++ b/testes/main.lua @@ -1,6 +1,6 @@ # testing special comment on first line -- $Id: testes/main.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h -- most (all?) tests here assume a reasonable "Unix-like" shell if _port then return end diff --git a/testes/math.lua b/testes/math.lua index 3937b9ce..bad8bc5e 100644 --- a/testes/math.lua +++ b/testes/math.lua @@ -1,5 +1,5 @@ -- $Id: testes/math.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print("testing numbers and math lib") diff --git a/testes/memerr.lua b/testes/memerr.lua index cb236eb9..77cb47cb 100644 --- a/testes/memerr.lua +++ b/testes/memerr.lua @@ -1,5 +1,5 @@ -- $Id: testes/memerr.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h local function checkerr (msg, f, ...) diff --git a/testes/nextvar.lua b/testes/nextvar.lua index d1da3cee..031ad3fd 100644 --- a/testes/nextvar.lua +++ b/testes/nextvar.lua @@ -1,5 +1,5 @@ -- $Id: testes/nextvar.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print('testing tables, next, and for') diff --git a/testes/pm.lua b/testes/pm.lua index f5889fcd..2a0cfb0b 100644 --- a/testes/pm.lua +++ b/testes/pm.lua @@ -1,5 +1,5 @@ -- $Id: testes/pm.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h -- UTF-8 file diff --git a/testes/sort.lua b/testes/sort.lua index 290b199e..b0127660 100644 --- a/testes/sort.lua +++ b/testes/sort.lua @@ -1,5 +1,5 @@ -- $Id: testes/sort.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print "testing (parts of) table library" diff --git a/testes/strings.lua b/testes/strings.lua index 9bb52b35..ce28e4c5 100644 --- a/testes/strings.lua +++ b/testes/strings.lua @@ -1,5 +1,5 @@ -- $Id: testes/strings.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h -- ISO Latin encoding diff --git a/testes/tpack.lua b/testes/tpack.lua index 4b32efb5..70386178 100644 --- a/testes/tpack.lua +++ b/testes/tpack.lua @@ -1,5 +1,5 @@ -- $Id: testes/tpack.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h local pack = string.pack local packsize = string.packsize diff --git a/testes/utf8.lua b/testes/utf8.lua index dc0f2f09..0704782c 100644 --- a/testes/utf8.lua +++ b/testes/utf8.lua @@ -1,5 +1,5 @@ -- $Id: testes/utf8.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h -- UTF-8 file diff --git a/testes/vararg.lua b/testes/vararg.lua index 1b025102..10553de2 100644 --- a/testes/vararg.lua +++ b/testes/vararg.lua @@ -1,5 +1,5 @@ -- $Id: testes/vararg.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print('testing vararg') diff --git a/testes/verybig.lua b/testes/verybig.lua index 250ea795..8163802c 100644 --- a/testes/verybig.lua +++ b/testes/verybig.lua @@ -1,5 +1,5 @@ -- $Id: testes/verybig.lua $ --- See Copyright Notice in file all.lua +-- See Copyright Notice in file lua.h print "testing RK" -- cgit v1.2.3-55-g6feb