gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] branch master updated: Remove test1173


From: gnunet
Subject: [GNUnet-SVN] [gnurl] branch master updated: Remove test1173
Date: Thu, 15 Aug 2019 13:14:06 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

The following commit(s) were added to refs/heads/master by this push:
     new 4cdbef157 Remove test1173
4cdbef157 is described below

commit 4cdbef157cf8afb1d83c0ee5497000eca19f86c9
Author: ng0 <address@hidden>
AuthorDate: Thu Aug 15 11:13:37 2019 +0000

    Remove test1173
---
 tests/Makefile.am       |  2 +-
 tests/data/test1173     | 26 --------------------
 tests/manpage-syntax.pl | 63 -------------------------------------------------
 3 files changed, 1 insertion(+), 90 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index cb08088b9..764e7daac 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,7 +36,7 @@ EXTRA_DIST = ftpserver.pl httpserver.pl secureserver.pl 
runtests.pl           \
  CMakeLists.txt mem-include-scan.pl valgrind.supp extern-scan.pl              \
  manpage-scan.pl nroff-scan.pl http2-server.pl dictserver.py.in                
  \
  negtelnetserver.py.in $(SMBDEPS) objnames-test08.sh objnames-test10.sh        
  \
- objnames.inc disable-scan.pl manpage-syntax.pl
+ objnames.inc disable-scan.pl
 
 check_SCRIPTS = smbserver.py curl_test_data.py negtelnetserver.py dictserver.py
 
diff --git a/tests/data/test1173 b/tests/data/test1173
deleted file mode 100644
index dd09f81d8..000000000
--- a/tests/data/test1173
+++ /dev/null
@@ -1,26 +0,0 @@
-<testcase>
-<info>
-<keywords>
-source analysis
-documentation
---manual
-</keywords>
-</info>
-
-#
-# Client-side
-<client>
-<server>
-none
-</server>
-
- <name>
-Basic man page syntax check
- </name>
-
-<command type="perl">
-%SRCDIR/manpage-syntax.pl %SRCDIR/../docs/*.1  %SRCDIR/../docs/libcurl/*.3 
%SRCDIR/../docs/libcurl/opts/*.3
-</command>
-</client>
-
-</testcase>
diff --git a/tests/manpage-syntax.pl b/tests/manpage-syntax.pl
deleted file mode 100644
index 7a7137a70..000000000
--- a/tests/manpage-syntax.pl
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/usr/bin/env perl
-#***************************************************************************
-#                                  _   _ ____  _
-#  Project                     ___| | | |  _ \| |
-#                             / __| | | | |_) | |
-#                            | (__| |_| |  _ <| |___
-#                             \___|\___/|_| \_\_____|
-#
-# Copyright (C) 2019, Daniel Stenberg, <address@hidden>, et al.
-#
-# This software is licensed as described in the file COPYING, which
-# you should have received as part of this distribution. The terms
-# are also available at https://curl.haxx.se/docs/copyright.html.
-#
-# You may opt to use, copy, modify, merge, publish, distribute and/or sell
-# copies of the Software, and permit persons to whom the Software is
-# furnished to do so, under the terms of the COPYING file.
-#
-# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
-# KIND, either express or implied.
-#
-###########################################################################
-#
-# Scan man page(s) and detect some simple and yet common formatting mistakes.
-#
-# Output all deviances to stderr.
-
-use strict;
-use warnings;
-
-# we may get the dir roots pointed out
-my @manpages=@ARGV;
-my $errors = 0;
-
-sub scanmanpage {
-    my ($file) = @_;
-
-    print "Check $file\n";
-    open(M, "<$file") || die "no such file: $file";
-    my $line = 1;
-    while(<M>) {
-        if($_ =~ /^\'/) {
-            print STDERR "$file:$line line starts with single quote!\n";
-            $errors++;
-        }
-        if($_ =~ /\\f([BI])(.*)/) {
-            my ($format, $rest) = ($1, $2);
-            if($rest !~ /\\fP/) {
-                print STDERR "$file:$line missing \\f${format} terminator!\n";
-                $errors++;
-            }
-        }
-        $line++;
-    }
-    close(M);
-}
-
-
-for my $m (@manpages) {
-    scanmanpage($m);
-}
-
-exit $errors;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]