[Gmp-commit] /var/hg/gmp: run-tests: Added copyright header.

mercurial at gmplib.org mercurial at gmplib.org
Thu Nov 22 23:46:49 CET 2012


details:   /var/hg/gmp/rev/ac41a29734c4
changeset: 15134:ac41a29734c4
user:      Niels M?ller <nisse at lysator.liu.se>
date:      Thu Nov 22 23:46:19 2012 +0100
description:
run-tests: Added copyright header.

diffstat:

 ChangeLog                |   5 +++++
 mini-gmp/tests/run-tests |  18 +++++++++++++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r c4230408f558 -r ac41a29734c4 ChangeLog
--- a/ChangeLog	Thu Nov 22 18:44:08 2012 +0100
+++ b/ChangeLog	Thu Nov 22 23:46:19 2012 +0100
@@ -1,3 +1,8 @@
+2012-11-22  Niels Möller  <nisse at lysator.liu.se>
+
+	* mini-gmp/tests/run-tests: Copied latest version from GNU Nettle.
+	Minor fix to the use of $EMULATOR, and proper copyright notice.
+
 2012-11-16  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/generic/powm_sec.c (redcify): Use mpn_sb_div_r_sec.
diff -r c4230408f558 -r ac41a29734c4 mini-gmp/tests/run-tests
--- a/mini-gmp/tests/run-tests	Thu Nov 22 18:44:08 2012 +0100
+++ b/mini-gmp/tests/run-tests	Thu Nov 22 23:46:19 2012 +0100
@@ -1,5 +1,21 @@
 #! /bin/sh
 
+# Copyright (C) 2000, 2001, 2002, 2004, 2005, 2011, 2012  Niels Möller
+#
+# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
 failed=0
 all=0
 
@@ -44,7 +60,7 @@
   if [ -z "$EMULATOR" ] || head -1 "$1" | grep '^#!' > /dev/null; then
     "$1" $testflags
   else
-    "$EMULATOR" "$1" $testflags
+    $EMULATOR "$1" $testflags
   fi
   case "$?" in
       0)


More information about the gmp-commit mailing list