Added --atimes and --set-noatime options.
[rsync.git] / testsuite / atimes.test
1 #! /bin/sh
2
3 # Test rsync copying atimes
4
5 . "$suitedir/rsync.fns"
6
7 mkdir "$fromdir"
8
9 touch "$fromdir/foo"
10 touch -a -t 200102031717.42 "$fromdir/foo"
11
12 TLS_ARGS=--atimes
13
14 checkit "$RSYNC -rtUgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
15
16 # The script would have aborted on error, so getting here means we've won.
17 exit 0