Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fe27e7
)
Make the sed commands compatible with Solaris (hopefully).
author
Wayne Davison
<wayned@samba.org>
Fri, 10 Jun 2005 17:21:52 +0000
(17:21 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 10 Jun 2005 17:21:52 +0000
(17:21 +0000)
testsuite/itemize.test
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/itemize.test
b/testsuite/itemize.test
index
aba265a
..
0c57a31
100644
(file)
--- a/
testsuite/itemize.test
+++ b/
testsuite/itemize.test
@@
-76,7
+76,7
@@
cp -p "$srcdir/config.h" "$fromdir/foo/config2"
chmod 600 "$fromdir/foo/config2"
# Lack of -t is for unchanged hard-link stress-test!
$RSYNC -vvplrH "$fromdir/" "$todir/" \
chmod 600 "$fromdir/foo/config2"
# Lack of -t is for unchanged hard-link stress-test!
$RSYNC -vvplrH "$fromdir/" "$todir/" \
- | sed -e '
0
,/done$/d' -e '/--whole-file/d' -e '/total:/d' -e '/^$/,$d' \
+ | sed -e '
1
,/done$/d' -e '/--whole-file/d' -e '/total:/d' -e '/^$/,$d' \
| tee "$outfile"
cat <<EOT | diff $diffopt - "$outfile" || test_fail "test 4 failed"
bar/baz/rsync is uptodate
| tee "$outfile"
cat <<EOT | diff $diffopt - "$outfile" || test_fail "test 4 failed"
bar/baz/rsync is uptodate
@@
-106,7
+106,7
@@
EOT
chmod 757 "$todir/foo/config1"
touch "$todir/foo/config2"
$RSYNC -vplrtH "$fromdir/" "$todir/" \
chmod 757 "$todir/foo/config1"
touch "$todir/foo/config2"
$RSYNC -vplrtH "$fromdir/" "$todir/" \
- | sed -e '
0,
/done$/d' -e '/^$/,$d' \
+ | sed -e '/done$/d' -e '/^$/,$d' \
| tee "$outfile"
cat <<EOT | diff $diffopt - "$outfile" || test_fail "test 6 failed"
foo/config2
| tee "$outfile"
cat <<EOT | diff $diffopt - "$outfile" || test_fail "test 6 failed"
foo/config2