RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/ CHANGES rpm/rpmio/ Makefile.am testit.sh tfts.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Fri 08 Feb 2008 - 23:20:03 CET
Message-Id: <20080208222003.9AB3E34847C@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   08-Feb-2008 23:20:03
  Branch: HEAD                             Handle: 2008020822200201

  Added files:
    rpm/rpmio               testit.sh
  Modified files:
    rpm                     CHANGES
    rpm/rpmio               Makefile.am tfts.c

  Log:
    - jbj: tie tget/tdir/tglob/tfts to a rpmio "make check". much more to
    do ...

  Summary:
    Revision    Changes     Path
    1.2157      +1  -0      rpm/CHANGES
    1.122       +7  -2      rpm/rpmio/Makefile.am
    2.1         +16 -0      rpm/rpmio/testit.sh
    2.18        +1  -1      rpm/rpmio/tfts.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.2156 -r1.2157 CHANGES
  --- rpm/CHANGES	8 Feb 2008 21:12:56 -0000	1.2156
  +++ rpm/CHANGES	8 Feb 2008 22:20:02 -0000	1.2157
  @@ -1,4 +1,5 @@
   5.0.0 -> 5.1a1:
  +    - jbj: tie tget/tdir/tglob/tfts to a rpmio "make check". much more to do ...
       - jbj: tweak up tglob debugging spew, add a Glob(3) stopwatch.
       - jbj: tweak up tget debugging spew, trick in a Stat(2) on path,
   	add Stat(2)/Fread(3) stopwatches, display same as "ls -island" output.
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/rpmio/Makefile.am
  ============================================================================
  $ cvs diff -u -r1.121 -r1.122 Makefile.am
  --- rpm/rpmio/Makefile.am	4 Feb 2008 20:09:37 -0000	1.121
  +++ rpm/rpmio/Makefile.am	8 Feb 2008 22:20:03 -0000	1.122
  @@ -4,9 +4,14 @@
   
   LINT = splint
   
  -EXTRA_DIST = gengpg.sh tdir.c tfts.c tget.c thkp.c tput.c tglob.c tinv.c tkey.c trpmio.c lookup3.c tpw.c librpmio.vers
  +EXTRA_DIST = gengpg.sh thkp.c tput.c tinv.c tkey.c trpmio.c lookup3.c tpw.c librpmio.vers
   
  -EXTRA_PROGRAMS = tdir tfts tget tglob thkp tinv tkey tmacro tmagic tmire tput tpw trpmio tsw dumpasn1 lookup3
  +EXTRA_PROGRAMS = thkp tinv tkey tmacro tmagic tmire tput tpw trpmio tsw dumpasn1 lookup3
  +
  +noinst_PROGRAMS = tdir tfts tget tglob
  +noinst_SCRIPTS = testit.sh
  +
  +TESTS = testit.sh
   
   AM_CPPFLAGS = \
   	-I$(srcdir) \
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/rpmio/testit.sh
  ============================================================================
  $ cvs diff -u -r0 -r2.1 testit.sh
  --- /dev/null	2008-02-08 23:11:00 +0100
  +++ testit.sh	2008-02-08 23:20:03 +0100
  @@ -0,0 +1,16 @@
  +#!/bin/sh
  +
  +opts=""
  +paths=". file:///tmp http://rpm5.org/files/popt ftp://localhost/pub"
  +
  +for path in $paths
  +do
  +    ./tget $opts $path
  +    ./tget $opts $path/testit.sh
  +
  +    ./tdir $opts $path
  +
  +    ./tglob $opts $path/*
  +
  +    ./tfts $opts $path
  +done
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/rpmio/tfts.c
  ============================================================================
  $ cvs diff -u -r2.17 -r2.18 tfts.c
  --- rpm/rpmio/tfts.c	8 Feb 2008 21:02:16 -0000	2.17
  +++ rpm/rpmio/tfts.c	8 Feb 2008 22:20:03 -0000	2.18
  @@ -258,7 +258,7 @@
   	size_t nb = strlen(dn);
   	dn = rpmExpand(dn, (dn[nb-1] != '/' ? "/" : NULL), NULL);
   	argvAdd(&av, dn);
  -	dn = _free(nav[0]);
  +	dn = _free(dn);
       }
   
       ftsWalk(av);
  @@ .
Received on Fri Feb 8 23:20:03 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.