From 71cb9df386acebe1811ff1ef79249a6b6aaea78e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 13 Oct 2006 04:59:53 +0000 Subject: [PATCH] Some OSes can't chmod -t for a file, so I changed the logic of our to to substitute a chmod that will work everywhere. --- testsuite/chmod-option.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuite/chmod-option.test b/testsuite/chmod-option.test index 9278fa57..4dc01cc7 100644 --- a/testsuite/chmod-option.test +++ b/testsuite/chmod-option.test @@ -44,9 +44,9 @@ makepath "$fromdir/foo" touch "$fromdir/bar" checkit "$RSYNC -avv \"$fromdir/\" \"$checkdir/\"" "$fromdir" "$checkdir" -chmod +t "$checkdir"/bar +chmod o+x "$fromdir"/bar -checkit "$RSYNC -avv --chmod=F+t \"$fromdir/\" \"$todir/\"" "$checkdir" "$todir" +checkit "$RSYNC -avv --chmod=Fo-x \"$fromdir/\" \"$todir/\"" "$checkdir" "$todir" # Tickle a bug in rsync 2.6.8: if you push a new directory with --perms off to # a daemon with an incoming chmod, the daemon pretends the directory is a file @@ -57,7 +57,7 @@ cat >>"$scratchdir/test-rsyncd.conf" <