URI: 
       remove unused tests - ics2txt - convert icalendar .ics file to plain text
  HTML git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ics2txt
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
   DIR commit 3b9f2bbdc0b786d3732555f8e7a001f40eaa59c6
   DIR parent 94173d57d064a613633e0cdd0b1a6da35d28fee8
  HTML Author: Josuah Demangeon <me@josuah.net>
       Date:   Thu, 24 Jun 2021 23:57:31 +0200
       
       remove unused tests
       
       Diffstat:
         D test/map.c                          |      18 ------------------
         M test/random-ics.awk                 |       9 +++------
       
       2 files changed, 3 insertions(+), 24 deletions(-)
       ---
   DIR diff --git a/test/map.c b/test/map.c
       @@ -1,18 +0,0 @@
       -#include <string.h>
       -#include <stdio.h>
       -
       -#include "map.h"
       -
       -int main(int argc, char **argv) {
       -        struct map map;
       -
       -        memset(&map, 0, sizeof(map));
       -
       -        for (argv++; *argv != NULL; argv++)
       -                if (map_set(&map, *argv, "abra") < 0)
       -                        return 1;
       -
       -        fprintf(stdout, ".");
       -
       -        return 0;
       -}
   DIR diff --git a/test/random-ics.awk b/test/random-ics.awk
       @@ -16,8 +16,9 @@ BEGIN {
                        }
                        first = 0
        
       +                data | getline
                        col = random(26) + 1
       -                out = substr($0, 1, col)
       +                out = "X-"substr($0, 1, col)
                        $0 = substr($0, col + 1)
                        n = random(30)
                        for (i = 0; i <= n; i++) {
       @@ -25,14 +26,10 @@ BEGIN {
                                if (length($0) < col)
                                        continue
                                eq = random(int(col / 2)) + 1
       -                        out = out substr($0, 1, eq) "=" substr($1, eq + 1, col) ";"
       +                        out = out ";" substr($0, 1, eq) "=" substr($1, eq + 1, col)
                                $0 = substr($0, col + 1)
                        }
                        out = out $0 ":"
       -                data | getline
       -                out = out $0
       -                if (out ~ "\n" || out !~ ":")
       -                        exit(1)
                        print(out)
                }