File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / testsuite / atimes.test
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:32:36 2021 UTC (3 years, 6 months ago) by misho
Branches: rsync, MAIN
CVS tags: v3_2_3, HEAD
rsync 3.2.3

    1: #! /bin/sh
    2: 
    3: # Test rsync copying atimes
    4: 
    5: . "$suitedir/rsync.fns"
    6: 
    7: $RSYNC --version | grep "[, ] atimes" >/dev/null || test_skipped "Rsync is configured without atimes support"
    8: 
    9: mkdir "$fromdir"
   10: 
   11: touch "$fromdir/foo"
   12: touch -a -t 200102031717.42 "$fromdir/foo"
   13: 
   14: TLS_ARGS=--atimes
   15: 
   16: checkit "$RSYNC -rtUgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir"
   17: 
   18: # The script would have aborted on error, so getting here means we've won.
   19: exit 0

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>