summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-04-18 19:55:08 -0700
committerWayne Davison <wayned@samba.org>2008-04-18 19:55:08 -0700
commit34a2b391653f344139a81ab2ad5959804c4acc7c (patch)
tree172d0665f674f6b52d1874603cf8ae59c577a912 /testsuite
parent276cc45571b274349f817a5bbc078f84abb385ce (diff)
downloadrsync-34a2b391653f344139a81ab2ad5959804c4acc7c.tar.gz
rsync-34a2b391653f344139a81ab2ad5959804c4acc7c.tar.bz2
rsync-34a2b391653f344139a81ab2ad5959804c4acc7c.zip
Reorder the filenames to touch to try to avoid a weird error on Solaris
5.8. Also, use lsh in one of the runs in order to try a hard-link run that uses a (pretend) remote shell.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/hardlinks.test8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuite/hardlinks.test b/testsuite/hardlinks.test
index 12dc346b..6de330a1 100644
--- a/testsuite/hardlinks.test
+++ b/testsuite/hardlinks.test
@@ -11,6 +11,8 @@
. "$suitedir/rsync.fns"
+SSH=support/lsh
+
outfile="$scratchdir/rsync.out"
# Build some hardlinks
@@ -44,8 +46,8 @@ checkit "$RSYNC -aHivv --no-whole-file '$fromdir/' '$todir/'" "$fromdir" "$todir
makepath "$fromdir/subdir/down/deep"
files=''
-for x in 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z; do
- for y in 0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z; do
+for x in a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9; do
+ for y in a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9; do
files="$files $x$y"
done
done
@@ -54,7 +56,7 @@ done
ln "$name1" "$fromdir/subdir/down/deep/new-file"
rm "$todir/text"
-checkit "$RSYNC -aHivv '$fromdir/' '$todir/'" "$fromdir" "$todir"
+checkit "$RSYNC -aHivve '$SSH' --rsync-path='$RSYNC' '$fromdir/' localhost:'$todir/'" "$fromdir" "$todir"
# Do some duplicate copies using --link-dest and --copy-dest to test that
# we hard-link all locally-inherited items.