Changes for 3.3.1dev.
[rsync.git] / testsuite / atimes.test
blob4d46eb0570c71eba30d2d3dafaa0ea0f8966efcd
1 #!/bin/sh
3 # Test rsync copying atimes
5 . "$suitedir/rsync.fns"
7 $RSYNC -VV | grep '"atimes": true' >/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