Removed copyright notice from 'testes/all.lua'

All test files refer to the main copyright notice in 'lua.h'.
This commit is contained in:
Roberto Ierusalimschy
2025-03-12 14:00:58 -03:00
parent 4398e488e6
commit ab66652b32
32 changed files with 33 additions and 60 deletions

View File

@@ -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.
*****************************************************************************
]]

View File

@@ -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')

View File

@@ -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"

View File

@@ -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'

View File

@@ -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")

View File

@@ -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")

View File

@@ -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"

View File

@@ -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')

View File

@@ -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";;

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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")

View File

@@ -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')

View File

@@ -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"

View File

@@ -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')

View File

@@ -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')

View File

@@ -1,5 +1,5 @@
-- $Id: testes/goto.lua $
-- See Copyright Notice in file all.lua
-- See Copyright Notice in file lua.h
collectgarbage()

View File

@@ -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")

View File

@@ -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')

View File

@@ -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')

View File

@@ -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

View File

@@ -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")

View File

@@ -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, ...)

View File

@@ -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')

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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')

View File

@@ -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"