Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a couple iconv loops to properly handle incomplete chars
[rsync/rsync.git]
/
testsuite
/
itemize.test
diff --git
a/testsuite/itemize.test
b/testsuite/itemize.test
index
7278034
..
655e317
100644
(file)
--- a/
testsuite/itemize.test
+++ b/
testsuite/itemize.test
@@
-28,8
+28,7
@@
ln "$fromdir/foo/config1" "$fromdir/foo/extra"
rm -f "$to2dir"
# Check if rsync is set to hard-link symlinks.
rm -f "$to2dir"
# Check if rsync is set to hard-link symlinks.
-confile=`echo "$scratchdir" | sed 's;/testtmp/itemize$;/config.h;'`
-if egrep '^#define CAN_HARDLINK_SYMLINK 1' "$confile" >/dev/null; then
+if egrep '^#define CAN_HARDLINK_SYMLINK 1' config.h >/dev/null; then
L=hL
else
L=cL
L=hL
else
L=cL
@@
-109,9
+108,9
@@
filter_outfile
cat <<EOT >"$chkfile"
bar/baz/rsync is uptodate
foo/config1 is uptodate
cat <<EOT >"$chkfile"
bar/baz/rsync is uptodate
foo/config1 is uptodate
-foo/config2
foo/extra is uptodate
foo/sym is uptodate
foo/extra is uptodate
foo/sym is uptodate
+foo/config2
EOT
diff $diffopt "$chkfile" "$outfile" || test_fail "test 4 failed"
EOT
diff $diffopt "$chkfile" "$outfile" || test_fail "test 4 failed"
@@
-204,8
+203,8
@@
bar/baz/rsync is uptodate
foo/ is uptodate
foo/config1 is uptodate
foo/config2 is uptodate
foo/ is uptodate
foo/config1 is uptodate
foo/config2 is uptodate
-foo/extra => foo/config1
foo/sym $is_uptodate
foo/sym $is_uptodate
+foo/extra => foo/config1
EOT
diff $diffopt "$chkfile" "$outfile" || test_fail "test 10 failed"
EOT
diff $diffopt "$chkfile" "$outfile" || test_fail "test 10 failed"