X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6a819e02daa73cabecdfb5cc354a69a2d706e65d..c8d19f90a679343c92295e364e57fb3375c0a8e6:/testsuite/itemize.test diff --git a/testsuite/itemize.test b/testsuite/itemize.test index d227d6c0..82fa4fcf 100644 --- a/testsuite/itemize.test +++ b/testsuite/itemize.test @@ -2,7 +2,7 @@ # Copyright (C) 2005 by Wayne Davison -# This program is distributable under the terms of the GNU GPL see +# This program is distributable under the terms of the GNU GPL (see # COPYING). # Test the output of various copy commands to ensure itemized output @@ -10,26 +10,11 @@ . "$suitedir/rsync.fns" -set -x - lddir="$tmpdir/ld" chkfile="$scratchdir/rsync.chk" outfile="$scratchdir/rsync.out" -# This is only called if rsync was run with -v or -vv (not -i alone). -# Higher levels of -v would require more filtering. -filter_outfile() { - sed -e '/^building file list /d' \ - -e '/^created directory /d' \ - -e '/^done$/d' \ - -e '/ --whole-file$/d' \ - -e '/^total: /d' \ - -e '/^$/,$d' \ - <"$outfile" >"$outfile.new" - mv "$outfile.new" "$outfile" -} - makepath "$fromdir/foo" makepath "$fromdir/bar/baz" cp -p "$srcdir/configure.in" "$fromdir/foo/config1"