Fix compile w/o openssl; disable sha256 & sha512 for --checksum.
[rsync.git] / testsuite / atimes.test
blob3bdb1d463308d0651b7c8f1894b35f1de6f3fa4e
1 #!/bin/sh
3 # Test rsync copying atimes
5 . "$suitedir/rsync.fns"
7 $RSYNC --version | grep "[, ] atimes" >/dev/null || test_skipped "Rsync is configured without atimes support"
9 mkdir "$fromdir"
11 touch "$fromdir/foo"
12 touch -a -t 200102031717.42 "$fromdir/foo"
14 TLS_ARGS=--atimes
16 checkit "$RSYNC -rtUgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
18 # The script would have aborted on error, so getting here means we've won.
19 exit 0