diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-04-23 13:17:41 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-04-23 13:24:15 -0700 |
commit | b936741032fbfcd41b74ae4ca76ea718df25c64b (patch) | |
tree | 783e982e10171d8815cb8d1a607fb4c37daf49ab /testsuite/daemon.test | |
parent | 2b2a3c87b6390ffef87311eb6551117a312d4f61 (diff) | |
download | rsync-b936741032fbfcd41b74ae4ca76ea718df25c64b.tar.gz |
Added --atimes and --set-noatime options.
Diffstat (limited to 'testsuite/daemon.test')
-rw-r--r-- | testsuite/daemon.test | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/testsuite/daemon.test b/testsuite/daemon.test index 06728e26..a8acd04e 100644 --- a/testsuite/daemon.test +++ b/testsuite/daemon.test @@ -27,7 +27,7 @@ outfile="$scratchdir/rsync.out" SSH="src/support/lsh.sh --no-cd" FILE_REPL='s/^\([^d][^ ]*\) *\(..........[0-9]\) /\1 \2 /' DIR_REPL='s/^\(d[^ ]*\) *[0-9][.,0-9]* /\1 DIR /' -LS_REPL='s;[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9];####/##/## ##:##:##;' +LS_REPL='s;[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] ;####/##/## ##:##:## ;g' build_rsyncd_conf @@ -91,3 +91,12 @@ drwxr-xr-x DIR ####/##/## ##:##:## foo EOT diff $diffopt "$chkfile" "$outfile" || test_fail "test 3 failed" +$RSYNC -rU localhost::test-from/f* \ + | sed "$FILE_REPL" | sed "$DIR_REPL" | sed "$LS_REPL" \ + | tee "$outfile" +cat <<EOT >"$chkfile" +drwxr-xr-x DIR ####/##/## ##:##:## foo +-rw-r--r-- 4 ####/##/## ##:##:## ####/##/## ##:##:## foo/one +EOT +diff $diffopt "$chkfile" "$outfile" || test_fail "test 3 failed" + |